Browse Source

added 'linux' as recognised OS for jo

pull/326/head
Koen De Jaeger 10 years ago
parent
commit
d6453dffef
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bin/autojump.bash

+ 2
- 2
bin/autojump.bash View File

@ -93,7 +93,7 @@ jo() {
output="$(autojump ${@})" output="$(autojump ${@})"
if [[ -d "${output}" ]]; then if [[ -d "${output}" ]]; then
case ${OSTYPE} in case ${OSTYPE} in
linux-gnu)
linux|linux-gnu)
xdg-open "${output}" xdg-open "${output}"
;; ;;
darwin*) darwin*)
@ -103,7 +103,7 @@ jo() {
cygstart "" $(cygpath -w -a ${output}) cygstart "" $(cygpath -w -a ${output})
;; ;;
*) *)
echo "Unknown operating system." 1>&2
echo "Unknown operating system '${OSTYPE}'." 1>&2
;; ;;
esac esac
else else

Loading…
Cancel
Save