From f9751d63c49c9ad1d6ade8978a656060b619a4c2 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Thu, 9 Aug 2012 10:20:56 -0500 Subject: [PATCH] fish completion: Remove dupe lines, fix commands --- Library/Contributions/brew_fish_completion.fish | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Library/Contributions/brew_fish_completion.fish b/Library/Contributions/brew_fish_completion.fish index ccf1ca625f..1a9cbf9f48 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"