mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
added 'linux' as recognised OS for jo
This commit is contained in:
parent
b4cbcc2fd2
commit
d6453dffef
@ -93,7 +93,7 @@ jo() {
|
||||
output="$(autojump ${@})"
|
||||
if [[ -d "${output}" ]]; then
|
||||
case ${OSTYPE} in
|
||||
linux-gnu)
|
||||
linux|linux-gnu)
|
||||
xdg-open "${output}"
|
||||
;;
|
||||
darwin*)
|
||||
@ -103,7 +103,7 @@ jo() {
|
||||
cygstart "" $(cygpath -w -a ${output})
|
||||
;;
|
||||
*)
|
||||
echo "Unknown operating system." 1>&2
|
||||
echo "Unknown operating system '${OSTYPE}'." 1>&2
|
||||
;;
|
||||
esac
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user