diff --git a/plugins/available/jump.plugin.bash b/plugins/available/jump.plugin.bash index c7b38d28..bc6f85e1 100755 --- a/plugins/available/jump.plugin.bash +++ b/plugins/available/jump.plugin.bash @@ -2,13 +2,8 @@ cite about-plugin about-plugin 'initialize jump (see https://github.com/gsamokovarov/jump)' __init_jump() { - command -v jump &> /dev/null - if [ $? -eq 1 ]; then - echo -e "You must install jump before you can use this plugin" - echo -e "See: https://github.com/gsamokovarov/jump" - else - eval "$(jump shell --bind=z)" - fi + command -v jump &> /dev/null || return + eval "$(jump shell --bind=z)" } __init_jump