forked from Bash-it/bash-it
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
# shellcheck shell=bash | ||
cite about-plugin | ||
about-plugin 'initialize jump (see https://github.com/gsamokovarov/jump). Add `export JUMP_OPTS=("--bind=z")` to change keybinding' | ||
|
||
__init_jump() { | ||
command -v jump &> /dev/null || return | ||
eval "$(jump shell bash "${JUMP_OPTS[@]}")" | ||
function __init_jump() | ||
{ | ||
_command_exists jump && eval "$(jump shell bash "${JUMP_OPTS[@]}")" | ||
} | ||
|
||
__init_jump |