diff --git a/bin/autojump.fish b/bin/autojump.fish index e995506..6a9246c 100644 --- a/bin/autojump.fish +++ b/bin/autojump.fish @@ -2,7 +2,7 @@ set -gx AUTOJUMP_SOURCED 1 # set user installation path if test -d ~/.autojump - set -x PATH ~/.autojump/bin $PATH + contains ~/.autojump/bin $PATH or set -x PATH ~/.autojump/bin $PATH end # Set ostype, if not set