mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
Add support for cygwin open in web-search plugin
This commit is contained in:
1 parent
adaea31ca0
commit
c45885093f
1 file changed
+1
@@ -16,6 +16,7 @@ function web_search() {
|
|||||||
# define the open command
|
# define the open command
|
||||||
case "$OSTYPE" in
|
case "$OSTYPE" in
|
||||||
darwin*) open_cmd="open" ;;
|
darwin*) open_cmd="open" ;;
|
||||||
|
cygwin*) open_cmd="cygstart" ;;
|
||||||
linux*) open_cmd="xdg-open" ;;
|
linux*) open_cmd="xdg-open" ;;
|
||||||
*) echo "Platform $OSTYPE not supported"
|
*) echo "Platform $OSTYPE not supported"
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
Reference in new issue
Block a user