Fix for Linux and make consistent

This commit is contained in:
Loic Nageleisen 2021-03-02 12:41:07 +01:00
parent e317caaa8f
commit 9ca56d83c7
42 changed files with 106 additions and 52 deletions

View file

@ -3,7 +3,7 @@
bundled_commands=(annotate cap capify cucumber guard heroku nanoc rackup rainbows rails rake rspec rubocop ruby shotgun spec spork thin unicorn unicorn_rails irb pry)
_bundler-installed() {
which bundle > /dev/null 2>&1
command -v bundle > /dev/null 2>&1
}
_within-bundled-project() {
@ -36,4 +36,4 @@ for cmd in ${bundled_commands[@]}; do
fi
done
# vim: ft=zsh
# vim: ft=bash