mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:06:41 +00:00
Fix lunchy autocompletion
This commit is contained in:
10
zsh/ruby.zsh
10
zsh/ruby.zsh
@@ -60,11 +60,9 @@ rbenv() {
|
||||
}
|
||||
|
||||
# lunchy auto-completion
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
if which gem &> /dev/null && gem which lunchy &> /dev/null; then
|
||||
LUNCHY_DIR="$(dirname "$(gem which lunchy)")/../extras"
|
||||
if [ -f "$LUNCHY_DIR/lunchy-completion.bash" ]; then
|
||||
source "$LUNCHY_DIR/lunchy-completion.bash"
|
||||
fi
|
||||
if which gem &> /dev/null && gem which lunchy &> /dev/null; then
|
||||
LUNCHY_DIR="$(dirname `gem which lunchy`)/../extras"
|
||||
if [ -f "$LUNCHY_DIR/lunchy-completion.zsh" ]; then
|
||||
. "$LUNCHY_DIR/lunchy-completion.zsh"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user