blob: 8c100b801b8e680237f70bfeb7aa8e29c27f14bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#defcomp hash
if [[ "$words[2]" = -*d* ]]; then
if [[ -string 1 '=' ]]; then
_path_files -g '*(-/)'
else
compgen -n -q -S '='
fi
elif [[ -string 1 '=' ]]; then
_files -/g '*(*)'
else
compgen -m -q -S '='
fi
|