mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-02 00:07:15 +08:00
Merge pull request #146 from fissionxuiptz/patch-1
This commit is contained in:
commit
c4aaa9035d
|
@ -7,7 +7,9 @@ function _append_path
|
|||
set path $argv[2]
|
||||
end
|
||||
|
||||
if test -d $argv[1]; and not contains $argv[1] $$path
|
||||
set $path $argv[1] $$path
|
||||
if test -d $argv[1]
|
||||
if not contains $argv[1] $$path
|
||||
set $path $argv[1] $$path
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user