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 | f9751d63c49c9ad1d6ade8978a656060b619a4c2 (patch) | |
| tree | 6e7a28ef23811fdfa2d6f08fb3d03a2eaed1a8f5 /Library | |
| parent | eb0be2ba4757f3da486e01af9885bbcbaf0e62b8 (diff) | |
| download | brew-f9751d63c49c9ad1d6ade8978a656060b619a4c2.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" |
