diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:16:27 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:16:27 +0000 |
| commit | b4a5b9db8b528f9c9b6a9cbb00db381c95659380 (patch) | |
| tree | 17bf8f93d47de0af7495ec6d11361aef1ca62f9b /Functions/Completion/_dd | |
| parent | zsh-3.1.5-pws-8 (diff) | |
| download | zsh-b4a5b9db8b528f9c9b6a9cbb00db381c95659380.tar zsh-b4a5b9db8b528f9c9b6a9cbb00db381c95659380.tar.gz zsh-b4a5b9db8b528f9c9b6a9cbb00db381c95659380.tar.bz2 zsh-b4a5b9db8b528f9c9b6a9cbb00db381c95659380.tar.lz zsh-b4a5b9db8b528f9c9b6a9cbb00db381c95659380.tar.xz zsh-b4a5b9db8b528f9c9b6a9cbb00db381c95659380.tar.zst zsh-b4a5b9db8b528f9c9b6a9cbb00db381c95659380.zip | |
zsh-3.1.5-pws-9zsh-3.1.5-pws-9
Diffstat (limited to 'Functions/Completion/_dd')
| -rw-r--r-- | Functions/Completion/_dd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Functions/Completion/_dd b/Functions/Completion/_dd new file mode 100644 index 000000000..2458541ea --- /dev/null +++ b/Functions/Completion/_dd @@ -0,0 +1,13 @@ +#defcomp dd + +if [[ -iprefix conv= ]]; then + # If there's a comma present, ignore up to the last one. The + # test alone will have that effect. + [[ -string , ]] + complist -S, -q \ + -k '(ascii ebcdic ibm block unblock lcase ucase swab noerror sync)' +elif [[ -iprefix 'if=' || -iprefix 'of=' ]]; then + _files +else + complist -S '=' -k '(if of ibs obs bs cbs skip files seek count conv)' +fi |
