Fix bug in save_function script

darcs-hash:20061130154006-ac50b-cb9ae4c46d3eced0fa432c47de996016519d29cd.gz
This commit is contained in:
axel 2006-12-01 01:40:06 +10:00
parent d3062f9a97
commit 2570eb1ab8

View file

@ -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