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