Enable shell completion for lunchy gem

This commit is contained in:
2015-08-08 14:45:08 +01:00
parent 40dc8b6931
commit ecce5e718f

View File

@@ -38,3 +38,8 @@ if [ -d "$HOME/.rbenv/bin" ]; then
elif [ -s "$HOME/.rvm/scripts/rvm" ]; then
source "$HOME/.rvm/scripts/rvm"
fi
LUNCHY_DIR="$(dirname `gem which lunchy`)/../extras"
if [ -f "$LUNCHY_DIR/lunchy-completion.bash" ]; then
source "$LUNCHY_DIR/lunchy-completion.bash"
fi