diff options
Diffstat (limited to 'Completion/User/_dd')
-rw-r--r-- | Completion/User/_dd | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Completion/User/_dd b/Completion/User/_dd index fa322d791..419fc1a7a 100644 --- a/Completion/User/_dd +++ b/Completion/User/_dd @@ -6,9 +6,8 @@ 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. compset -p '*,' - _wanted values expl conversion && - compadd "$expl[@]" -qS, -q \ - ascii ebcdic ibm block unblock lcase ucase swab noerror sync + _wanted values expl conversion \ + compadd -qS, ascii ebcdic ibm block unblock lcase ucase swab noerror sync elif compset -P 1 'if='; then _description files expl 'input file' _tilde_files "$expl[@]" @@ -16,6 +15,6 @@ elif compset -P 1 'of='; then _description files expl 'output file' _tilde_files "$expl[@]" else - _wanted values expl option && - compadd "$expl[@]" -S '=' if of ibs obs bs cbs skip files seek count conv + _wanted values expl option \ + compadd -S '=' if of ibs obs bs cbs skip files seek count conv fi |