Add plugin for 'jump'
Considering FASD has been deprecated, jump does the same thing but is actively maintained! https://github.com/gsamokovarov/jumppull/1216/head
parent
f121bec2a1
commit
dd081b6e5f
|
|
@ -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
|
||||||
Loading…
Reference in New Issue