aboutsummaryrefslogtreecommitdiffhomepage
path: root/init/fish_complete.fish.in
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-14 11:59:37 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-14 11:59:37 +1000
commit11273a7be044239d58d0b7124bdbcb373fe01163 (patch)
tree7cfacc16d45927650cf152f2299d6e8ece1792cc /init/fish_complete.fish.in
parent1562b8148d344a94335032e0e5d6402c9a2dd7e3 (diff)
Various corrections for advanced tab completions. Should make the --export
darcs-hash:20060114015937-ac50b-c085db7526eae4aa4138ca86304e725d7faebec4.gz
Diffstat (limited to 'init/fish_complete.fish.in')
-rw-r--r--init/fish_complete.fish.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/fish_complete.fish.in b/init/fish_complete.fish.in
index 96b73b78..f893186a 100644
--- a/init/fish_complete.fish.in
+++ b/init/fish_complete.fish.in
@@ -233,7 +233,7 @@ end
function __fish_append -d "Internal completion function for appending string to the commandline"
set separator $argv[1]
set -e argv[1]
- set str (commandline -tc| sed -ne "s/\(.*$separator\)[^$separator]*/\1/p")
+ set str (commandline -tc| sed -ne "s/\(.*$separator\)[^$separator]*/\1/p"|sed -e "s/--.*=//")
printf "%s\n" "$str"$argv "$str"(printf "%s\n" $argv|sed -e "s/\(\t\|\$\)/,\1/")
end