mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Merge pull request #1 from camperdave/go-command-plugin
Go command plugin
This commit is contained in:
commit
3aea64320c
1 changed files with 3 additions and 1 deletions
|
|
@ -9,8 +9,10 @@ go() {
|
||||||
else
|
else
|
||||||
echo "DISPLAY not set: xdg-open requires X11"
|
echo "DISPLAY not set: xdg-open requires X11"
|
||||||
fi
|
fi
|
||||||
|
elif [ -e "`which cygstart`" ]; then
|
||||||
|
cygstart "$1"
|
||||||
else
|
else
|
||||||
echo "xdg-open not found: unable to open '$1'"
|
echo "neither xdg-open nor cygstart found: unable to open '$1'"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
elif [ -d "$1" ]; then
|
elif [ -d "$1" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue