diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:05:38 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:05:38 +0000 |
| commit | e74702b467171dbdafb56dfe354794a212e020d9 (patch) | |
| tree | c295b3e9b2e93e2de10331877442615b0f37e779 /Completion/Base/_condition | |
| parent | Initial revision (diff) | |
| download | zsh-e74702b467171dbdafb56dfe354794a212e020d9.tar zsh-e74702b467171dbdafb56dfe354794a212e020d9.tar.gz zsh-e74702b467171dbdafb56dfe354794a212e020d9.tar.bz2 zsh-e74702b467171dbdafb56dfe354794a212e020d9.tar.lz zsh-e74702b467171dbdafb56dfe354794a212e020d9.tar.xz zsh-e74702b467171dbdafb56dfe354794a212e020d9.tar.zst zsh-e74702b467171dbdafb56dfe354794a212e020d9.zip | |
Initial revision
Diffstat (limited to 'Completion/Base/_condition')
| -rw-r--r-- | Completion/Base/_condition | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Completion/Base/_condition b/Completion/Base/_condition new file mode 100644 index 000000000..3e45e1b8f --- /dev/null +++ b/Completion/Base/_condition @@ -0,0 +1,10 @@ +#defcomp -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 |
