24 lines
666 B
Bash
24 lines
666 B
Bash
# https://github.com/wting/autojump
|
|
# apt-get install autojump
|
|
[[ -s /usr/share/autojump/autojump.sh ]] && source /usr/share/autojump/autojump.sh
|
|
|
|
setopt AUTO_PUSHD # Push the current directory visited on the stack.
|
|
setopt PUSHD_IGNORE_DUPS # Do not store duplicates in the stack.
|
|
setopt PUSHD_SILENT # Do not print the directory stack after pushd or popd.
|
|
|
|
autoload -Uz allopt zed zmv zcalc colors
|
|
colors
|
|
|
|
zmodload zsh/terminfo
|
|
|
|
autoload -Uz edit-command-line
|
|
zle -N edit-command-line
|
|
bindkey -M vicmd v edit-command-line
|
|
|
|
autoload -Uz select-word-style
|
|
select-word-style shell
|
|
|
|
autoload -Uz url-quote-magic
|
|
zle -N self-insert url-quote-magic
|
|
|