diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-15 09:45:33 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-15 09:45:33 +0000 |
commit | 854c9fdafa2d0c63442d98cce1b87c0ec51c8cde (patch) | |
tree | 07b4fd92a19a49614ed1ccc113f46a09d714d604 /Src/Zle/computil.c | |
parent | df3478da4e559af872e9ea813320bfa6876fb933 (diff) | |
download | zsh-854c9fdafa2d0c63442d98cce1b87c0ec51c8cde.tar.gz zsh-854c9fdafa2d0c63442d98cce1b87c0ec51c8cde.tar.xz zsh-854c9fdafa2d0c63442d98cce1b87c0ec51c8cde.zip |
zsh-workers/8272
Diffstat (limited to 'Src/Zle/computil.c')
-rw-r--r-- | Src/Zle/computil.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c index a79044d6e..b2c29d03e 100644 --- a/Src/Zle/computil.c +++ b/Src/Zle/computil.c @@ -291,9 +291,11 @@ bin_compdescribe(char *nam, char **args, char *ops, int func) } switch (args[0][1]) { case 'i': + cd_parsed = 1; + return cd_init(nam, "", args + 1, 0); case 'I': cd_parsed = 1; - return cd_init(nam, args[1], args + 2, (args[0][1] == 'I')); + return cd_init(nam, args[1], args + 2, 1); case 'g': if (cd_parsed) { int n = arrlen(args); |