add bash-it
This commit is contained in:
12
dot_bash_it/plugins/available/jump.plugin.bash
Normal file
12
dot_bash_it/plugins/available/jump.plugin.bash
Normal file
@@ -0,0 +1,12 @@
|
||||
# shellcheck shell=bash
|
||||
# shellcheck disable=SC2016
|
||||
cite about-plugin
|
||||
about-plugin 'initialize jump (see https://github.com/gsamokovarov/jump). Add `export JUMP_OPTS=("--bind=z")` to change keybinding'
|
||||
|
||||
function __init_jump() {
|
||||
if _command_exists jump; then
|
||||
eval "$(jump shell bash "${JUMP_OPTS[@]}")"
|
||||
fi
|
||||
}
|
||||
|
||||
__init_jump
|
||||
Reference in New Issue
Block a user