diff options
Diffstat (limited to 'Completion/Zsh')
-rw-r--r-- | Completion/Zsh/Type/_file_descriptors | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Type/_file_descriptors b/Completion/Zsh/Type/_file_descriptors index 82d19d62a..29d907940 100644 --- a/Completion/Zsh/Type/_file_descriptors +++ b/Completion/Zsh/Type/_file_descriptors @@ -7,7 +7,7 @@ for i in {0..9}; [[ -e /dev/fd/$i ]] && fds+=( $i ) if zstyle -T ":completion:${curcontext}:" verbose && [[ -e /proc/$$/fd ]]; then zstyle -s ":completion:${curcontext}:" list-separator sep || sep=-- - if zmodload -F zsh/stat zstat; then + if zmodload -F zsh/stat b:zstat; then for i in "${fds[@]}"; do zstat +link -A link /proc/$$/fd/$i list+=( "$i $sep ${link[1]}" ) |