mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-04 05:01:27 +01:00
zsh-3.1.5-pws-8
This commit is contained in:
parent
850fb2e7f9
commit
ba4f5e80ec
98 changed files with 1624 additions and 149 deletions
10
Functions/Completion/__condition
Normal file
10
Functions/Completion/__condition
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#function --condition--
|
||||
|
||||
if [[ -current -1 -o ]]; then
|
||||
complist -o -M 'L:|[nN][oO]= M:_= M:{A-Z}={a-z}'
|
||||
elif [[ -current -1 -nt || -current -1 -ot || -current -1 -ef ]]; then
|
||||
files
|
||||
else
|
||||
files
|
||||
complist -v
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue