diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-27 12:07:35 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-27 12:07:35 +0000 |
commit | 5d89ce8e656eeb53ec8d6fac2e48acc3e25b12d9 (patch) | |
tree | 760127413b483e5e15d4d9ff8d4592d26ad4cfee /Completion/Base | |
parent | ba2ea727531305043ae64be5ad591e30773a7908 (diff) | |
download | zsh-5d89ce8e656eeb53ec8d6fac2e48acc3e25b12d9.tar.gz zsh-5d89ce8e656eeb53ec8d6fac2e48acc3e25b12d9.tar.xz zsh-5d89ce8e656eeb53ec8d6fac2e48acc3e25b12d9.zip |
ensure $PWD is prepended to cache-names for long options in _arguments (10974)
Diffstat (limited to 'Completion/Base')
-rw-r--r-- | Completion/Base/_arguments | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments index 77fbf534c..b1e790e1c 100644 --- a/Completion/Base/_arguments +++ b/Completion/Base/_arguments @@ -17,7 +17,7 @@ if (( long )); then fi name=${~words[1]} - [[ "$name" != /* ]] && tmp="$PWD/$name" + [[ "$name" = [^/]*/* ]] && name="$PWD/$name" name="_args_cache_${name}" name="${name//[^a-zA-Z0-9_]/_}" |