mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
15 lines
226 B
Plaintext
15 lines
226 B
Plaintext
#compdef source .
|
|
|
|
if [[ CURRENT -ge 3 ]]; then
|
|
compset -n 2
|
|
_normal
|
|
else
|
|
if [[ -prefix */ && ! -o pathdirs ]]; then
|
|
_files
|
|
elif [[ $service = . ]]; then
|
|
_files -W path
|
|
else
|
|
_files -W "(. $path)"
|
|
fi
|
|
fi
|