mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-10-02 17:01:19 +02:00
14 lines
223 B
Plaintext
14 lines
223 B
Plaintext
|
#defcomp hash
|
||
|
|
||
|
if [[ -mword 1 -*d* ]]; then
|
||
|
if [[ -string 1 '=' ]]; then
|
||
|
_path_files -g '*(-/)'
|
||
|
else
|
||
|
complist -n -q -S '='
|
||
|
fi
|
||
|
elif [[ -string 1 '=' ]]; then
|
||
|
_files -/g '*(*)'
|
||
|
else
|
||
|
complist -m -q -S '='
|
||
|
fi
|