mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
use the new set -a and set -p in our scripts
This commit is contained in:
@@ -26,7 +26,7 @@ function cdh --description "Menu based cd command"
|
||||
set -l uniq_dirs
|
||||
for dir in $all_dirs[-1..1]
|
||||
if not contains $dir $uniq_dirs
|
||||
set uniq_dirs $uniq_dirs $dir
|
||||
set -a uniq_dirs $dir
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user