mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix bug in save_function script
darcs-hash:20061130154006-ac50b-cb9ae4c46d3eced0fa432c47de996016519d29cd.gz
This commit is contained in:
parent
d3062f9a97
commit
2570eb1ab8
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue