mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
13 lines
225 B
Text
13 lines
225 B
Text
#function hash
|
|
|
|
if [[ -mword 1 -*d* ]]; then
|
|
if [[ -string 1 '=' ]]; then
|
|
pfiles -g '*(-/)'
|
|
else
|
|
complist -n -q -S '='
|
|
fi
|
|
elif [[ -string 1 '=' ]]; then
|
|
files -g '*(*)' '*(-/)'
|
|
else
|
|
complist -m -q -S '='
|
|
fi
|