mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix incorrect use of the 'builtin' builtin when the 'command' builtin was intended
darcs-hash:20061214120630-ac50b-5cee4b32042bb23c1a4b01e2a400a4af13c64c9c.gz
This commit is contained in:
parent
a971d91a70
commit
9ff0e9cf72
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue