Add plugin for 'jump'

Considering FASD has been deprecated, jump does the same thing but is
actively maintained!

https://github.com/gsamokovarov/jump
pull/1216/head
Adam Wallis 2018-07-17 13:52:59 -04:00
parent f121bec2a1
commit dd081b6e5f
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
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
}
__init_jump