mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-31 23:02:18 +08:00
Fix bug in save_function script
darcs-hash:20061130154006-ac50b-cb9ae4c46d3eced0fa432c47de996016519d29cd.gz
This commit is contained in:
parent
d3062f9a97
commit
2570eb1ab8
|
@ -18,7 +18,7 @@ function save_function -d (N_ "Save the current definition of all specified func
|
|||
|
||||
for i in $configdir $configdir/fish $configdir/fish/functions
|
||||
if not test -d $i
|
||||
if not builtin mkdir $configdir >/dev/null
|
||||
if not builtin mkdir $i >/dev/null
|
||||
printf (_ "%s: Could not create configuration directory\n") save_function
|
||||
return 1
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user