repo.or.cz
/
zsh.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
26763: fix problem on failed cd -s to relative path
[zsh.git]
/
Completion
/
Zsh
/
Command
/
_source
blob
96b6c21bdfebb888899f10bc88be9de25ba52e84
1
#compdef source .
2
3
if [[ CURRENT -ge 3 ]]; then
4
compset -n 2
5
_normal
6
else
7
if [[ -prefix */ && ! -o pathdirs ]]; then
8
_files
9
elif [[ $service = . ]]; then
10
_files -W path
11
else
12
_files -W "(. $path)"
13
fi
14
fi