Fix incorrect use of the 'builtin' builtin when the 'command' builtin was intended

darcs-hash:20061214120630-ac50b-5cee4b32042bb23c1a4b01e2a400a4af13c64c9c.gz
This commit is contained in:
axel 2006-12-14 22:06:30 +10:00
parent a971d91a70
commit 9ff0e9cf72

View file

@ -19,11 +19,11 @@ if not set -q __fish_init_1_22_0
# Perform upgrade of configuration file hierarchy
if not test -d $configdir
builtin mkdir $configdir >/dev/null
command mkdir $configdir >/dev/null
end
if test -d $configdir
if builtin mkdir $configdir/fish
if command mkdir $configdir/fish
# These files are sometimes overwritten to by fish, so
# we want backups of them in case something goes wrong