mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Keep path from growing by checking it bin dir exists - fish
This commit is contained in:
parent
06e082c918
commit
936f5a1ca3
@ -2,7 +2,7 @@ set -gx AUTOJUMP_SOURCED 1
|
|||||||
|
|
||||||
# set user installation path
|
# set user installation path
|
||||||
if test -d ~/.autojump
|
if test -d ~/.autojump
|
||||||
set -x PATH ~/.autojump/bin $PATH
|
contains ~/.autojump/bin $PATH or set -x PATH ~/.autojump/bin $PATH
|
||||||
end
|
end
|
||||||
|
|
||||||
# Set ostype, if not set
|
# Set ostype, if not set
|
||||||
|
Loading…
Reference in New Issue
Block a user