From 76b0140af5335aec06ff57e9979e26817ee17c4b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 14 Apr 2014 22:15:05 -0500 Subject: [PATCH] Aliases don't have .rb extensions, so no need to remove them --- Library/Contributions/brew_bash_completion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh index f0002fddb7..e0cda943a7 100644 --- a/Library/Contributions/brew_bash_completion.sh +++ b/Library/Contributions/brew_bash_completion.sh @@ -62,7 +62,7 @@ __brew_complete_formulae () local cur="${COMP_WORDS[COMP_CWORD]}" local lib=$(brew --repository)/Library local ff=$(\ls ${lib}/Formula 2>/dev/null | sed 's/\.rb//g') - local af=$(\ls ${lib}/Aliases 2>/dev/null | sed 's/\.rb//g') + local af=$(\ls ${lib}/Aliases 2>/dev/null) local tf tap for dir in $(\ls ${lib}/Taps 2>/dev/null); do