diff options
| author | Misty De Meo | 2012-08-09 10:20:56 -0500 |
|---|---|---|
| committer | Misty De Meo | 2012-08-09 10:57:27 -0500 |
| commit | 0cf17ad43ed1a060b612fd5f133ecd503efa450f (patch) | |
| tree | bf0e1902fb65d2f709b0fc503d1a821e36b222de /Library | |
| parent | f7ea224afb27bdaccb70870d5f7439cd136c858f (diff) | |
| download | homebrew-0cf17ad43ed1a060b612fd5f133ecd503efa450f.tar.bz2 | |
fish completion: Remove dupe lines, fix commands
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Contributions/brew_fish_completion.fish | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Contributions/brew_fish_completion.fish b/Library/Contributions/brew_fish_completion.fish index ccf1ca625..1a9cbf9f4 100644 --- a/Library/Contributions/brew_fish_completion.fish +++ b/Library/Contributions/brew_fish_completion.fish @@ -6,7 +6,7 @@ # ln -s (brew --prefix)/Library/Contributions/brew_fish_completion.fish # ~/.config/fish/completions/brew.fish -for command in (ls (brew --repository)/Library/Homebrew/cmd | sed s/\.rb//) +for command in (ls (brew --repository)/Library/Homebrew/cmd | sed -e "s/\.rb//g") set commands $command $commands end @@ -155,8 +155,4 @@ complete -c brew -l installed -n '__fish_complete_brew_command uses' -d "Only li complete -c brew -l compact -n '__fish_complete_brew_command versions' -d "Show all versions on a single line" -complete -c brew -l prefix -n '__fish_complete_brew_no_command' -complete -c brew -l version -n '__fish_complete_brew_no_command' -complete -c brew -l cache -n '__fish_complete_brew_no_command' - complete -c brew -s v -l verbose -d "Print extra debugging information" |
