diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:24:09 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:24:09 +0000 |
commit | 6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7 (patch) | |
tree | ec80a986c49f2da21eed83b7097f0f4e99f57e3f /Completion/User/_dd | |
parent | 640a840d2e94f0fc245ef8632050c37af23c6b94 (diff) | |
download | zsh-6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7.tar.gz zsh-6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7.tar.xz zsh-6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7.zip |
zsh-3.1.5-pws-14 zsh-3.1.5-pws-14
Diffstat (limited to 'Completion/User/_dd')
-rw-r--r-- | Completion/User/_dd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/User/_dd b/Completion/User/_dd index 63ae40f50..6b07a382c 100644 --- a/Completion/User/_dd +++ b/Completion/User/_dd @@ -1,12 +1,12 @@ #defcomp dd -if [[ -iprefix conv= ]]; then +if compset -P 1 'conv\='; then # If there's a comma present, ignore up to the last one. The # test alone will have that effect. - [[ -string , ]] + compset -p '*,' compgen -S, -q \ -k '(ascii ebcdic ibm block unblock lcase ucase swab noerror sync)' -elif [[ -iprefix 'if=' || -iprefix 'of=' ]]; then +elif compset -P 1 '[io]f\='; then _files else compgen -S '=' -k '(if of ibs obs bs cbs skip files seek count conv)' |