diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-21 08:05:28 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-21 08:05:28 +0000 |
commit | 1c710d46271eb0b7e41424fbbd30fa8403c69291 (patch) | |
tree | 3dcd59a0313946f6854c61d85d246afc720e8c5c /Completion/Core/_expand | |
parent | 3ecad25c83a1156f50962d96d665b21d0a0cb788 (diff) | |
download | zsh-1c710d46271eb0b7e41424fbbd30fa8403c69291.tar.gz zsh-1c710d46271eb0b7e41424fbbd30fa8403c69291.tar.xz zsh-1c710d46271eb0b7e41424fbbd30fa8403c69291.zip |
make history completion use I{PREF,SUF}FIX (12011)
Diffstat (limited to 'Completion/Core/_expand')
-rw-r--r-- | Completion/Core/_expand | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Core/_expand b/Completion/Core/_expand index 8b0bae95f..6ebbfa042 100644 --- a/Completion/Core/_expand +++ b/Completion/Core/_expand @@ -33,6 +33,8 @@ else word="$IPREFIX$PREFIX$SUFFIX$ISUFFIX" fi +[[ "$word" = *\$\{[^\}]# ]] && return 1 + zstyle -T ":completion:${curcontext}:" suffix && [[ "$word" = (\~*/*|\$[a-zA-Z0-9_\[\]]##[^a-zA-Z0-9_\[\]]*|\$\{*\}?*) ]] && return 1 |