From db5c02fbfc1b0310cce506a60f2c13413d35f00c Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 6 Aug 2015 20:15:36 +0200 Subject: [PATCH] abbr completions: Describe abbreviations with what they abbreviate i.e. "abbr -e " will list am (alsamixer) --- share/completions/abbr.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/abbr.fish b/share/completions/abbr.fish index 3dcac341a..3ce166fc7 100644 --- a/share/completions/abbr.fish +++ b/share/completions/abbr.fish @@ -1,5 +1,5 @@ complete -c abbr -f -s a -l add -d 'Add abbreviation' -complete -c abbr -s e -l erase -d 'Erase abbreviation' -xa '(abbr -l)' +complete -c abbr -s e -l erase -d 'Erase abbreviation' -xa '(abbr -s | cut -d" " -f 2- | sed -e "s/ / /")' complete -c abbr -f -s s -l show -d 'Print all abbreviations' complete -c abbr -f -s l -l list -d 'Print all abbreviation names' complete -c abbr -f -s h -l help -d 'Help'