diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2008-06-21 21:36:00 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-06-21 21:36:00 +0000 |
| commit | 6763a3cc555fcf216e2be15ab3b866ead0138e0f (patch) | |
| tree | c826cd17b4086d69d6769e87c79a7f032081baec /Completion/Unix | |
| parent | 25214, tweaked: add warning about exponentiation precedence (diff) | |
| download | zsh-6763a3cc555fcf216e2be15ab3b866ead0138e0f.tar zsh-6763a3cc555fcf216e2be15ab3b866ead0138e0f.tar.gz zsh-6763a3cc555fcf216e2be15ab3b866ead0138e0f.tar.bz2 zsh-6763a3cc555fcf216e2be15ab3b866ead0138e0f.tar.lz zsh-6763a3cc555fcf216e2be15ab3b866ead0138e0f.tar.xz zsh-6763a3cc555fcf216e2be15ab3b866ead0138e0f.tar.zst zsh-6763a3cc555fcf216e2be15ab3b866ead0138e0f.zip | |
25231: fix approximation of absolute paths in root directory
Diffstat (limited to 'Completion/Unix')
| -rw-r--r-- | Completion/Unix/Type/_path_files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files index 6890379c5..413f69635 100644 --- a/Completion/Unix/Type/_path_files +++ b/Completion/Unix/Type/_path_files @@ -414,7 +414,7 @@ for prepath in "$prepaths[@]"; do fi if (( ! $#tmp1 )); then - tmp2=( ${^tmp2}/$PREFIX$SUFFIX ) + tmp2=( ${^${tmp2:#/}}/$PREFIX$SUFFIX ) elif [[ "$tmp1[1]" = */* ]]; then if [[ -n "$_comp_correct" ]]; then tmp2=( "$tmp1[@]" ) |
