diff options
author | axel <axel@liljencrantz.se> | 2007-01-06 23:07:22 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2007-01-06 23:07:22 +1000 |
commit | 7e350dab662b7e9299056cb5d760eb197b1e95bf (patch) | |
tree | 8762144ce46be1599d86c9c1bf68e853452743d8 /share/completions/dcop.fish | |
parent | 9c23d50e923400ffd8e8efdc54d81352acf415d3 (diff) |
Update the dcop completions. This update was written by David Bitseff.
darcs-hash:20070106130722-ac50b-a73277cfccbf456595f0fb7ceeb18d23b2f744ab.gz
Diffstat (limited to 'share/completions/dcop.fish')
-rw-r--r-- | share/completions/dcop.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/completions/dcop.fish b/share/completions/dcop.fish index 047950af..8e59c09a 100644 --- a/share/completions/dcop.fish +++ b/share/completions/dcop.fish @@ -7,7 +7,7 @@ function __fish_complete_dcop -d "Completions for kde dcop" if eval "$com >/dev/null 2>&1" # use dcop output if available - eval "$com | sed -e 's/^\w[^ ]* \(\w*\)([^)]*)\$/\1/'" + eval "$com | sed -e 's/ (default)//; s/^\w[^ ]* \(\w*\)([^)]*)\$/\1/'" else set -l op (commandline -o) @@ -25,7 +25,7 @@ function __fish_complete_dcop -d "Completions for kde dcop" set -l idx (seq 2 (expr (count $o) - 1)) # list only function names - dcop $o[$idx] | grep -- $o[-1] | sed -e 's/^\w[^ ]* \(\w*\)([^)]*)$/\1/' + dcop $o[$idx] | grep -- $o[-1] | sed -e 's/ (default)//; s/^\w[^ ]* \(\w*\)([^)]*)$/\1/' end end end |