aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua McKinney2016-09-14 10:12:46 -0500
committerJoshua McKinney2016-09-14 10:12:46 -0500
commit1e152f1417ce6df3d4959fc44ce15d48a75cc89f (patch)
tree586c49d8b2873a3015bb580f1431104ae30beb3b
parent3f75cb06c61ac82873ebcbfd91d7e6bb17675d1d (diff)
downloadbrew-1e152f1417ce6df3d4959fc44ce15d48a75cc89f.tar.bz2
Fix first _brew_cask completion function call
Without a call to _brew_cask at the end of the script, the first completion does not work as zsh just autoloads the function without executing it.
-rw-r--r--share/zsh/site-functions/_brew_cask2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/zsh/site-functions/_brew_cask b/share/zsh/site-functions/_brew_cask
index 2fd65c4d6..7120dcbf5 100644
--- a/share/zsh/site-functions/_brew_cask
+++ b/share/zsh/site-functions/_brew_cask
@@ -211,3 +211,5 @@ _brew_cask()
__brew_cask_command "$line[1]" ;;
esac
}
+
+_brew_cask "$@"