Commit 0cf50c3b authored by Anderson Bravalheri's avatar Anderson Bravalheri
Browse files

Change "source" to "." in autojump.sh

This makes the file more POSIX-compliant, which is useful in some OSs
that link /bin/sh to secondary shells for performance improvements
while still using bash as the default shell

Reference: https://wiki.ubuntu.com/DashAsBinSh
parent 06e082c9
Showing with 2 additions and 2 deletions
+2 -2
......@@ -18,9 +18,9 @@ if [ "${shell}" = "sh" ]; then
# check local install
elif [ -s ~/.autojump/share/autojump/autojump.${shell} ]; then
source ~/.autojump/share/autojump/autojump.${shell}
. ~/.autojump/share/autojump/autojump.${shell}
# check global install
elif [ -s /usr/local/share/autojump/autojump.${shell} ]; then
source /usr/local/share/autojump/autojump.${shell}
. /usr/local/share/autojump/autojump.${shell}
fi
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment