Подключение плагинов

This commit is contained in:
Andrei Astafev 2021-11-07 10:34:23 +03:00
parent 943fc1d242
commit 061989e556
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,3 @@
# 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 AUTO_PUSHD # Push the current directory visited on the stack.
setopt PUSHD_IGNORE_DUPS # Do not store duplicates in 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. setopt PUSHD_SILENT # Do not print the directory stack after pushd or popd.

View File

@ -26,10 +26,13 @@ if command -v peco > /dev/null 2>&1; then
zgenom load jimeh/zsh-peco-history zgenom load jimeh/zsh-peco-history
fi fi
zgenom ohmyzsh plugins/autojump
zgenom ohmyzsh plugins/command-not-found zgenom ohmyzsh plugins/command-not-found
zgenom ohmyzsh plugins/systemadmin
zgenom ohmyzsh plugins/common-aliases zgenom ohmyzsh plugins/common-aliases
zgenom ohmyzsh plugins/debian zgenom ohmyzsh plugins/debian
zgenom ohmyzsh plugins/isodate
zgenom ohmyzsh plugins/rsync
zgenom ohmyzsh plugins/systemadmin
if command -v fzf > /dev/null 2>&1; then if command -v fzf > /dev/null 2>&1; then
export DISABLE_FZF_KEY_BINDINGS=true export DISABLE_FZF_KEY_BINDINGS=true
zgenom ohmyzsh plugins/fzf zgenom ohmyzsh plugins/fzf
@ -38,6 +41,7 @@ if command -v fzf > /dev/null 2>&1; then
[ -e /usr/share/doc/fzf/examples/completion.zsh ] && source /usr/share/doc/fzf/examples/completion.zsh [ -e /usr/share/doc/fzf/examples/completion.zsh ] && source /usr/share/doc/fzf/examples/completion.zsh
fi fi
if command -v git > /dev/null 2>&1; then if command -v git > /dev/null 2>&1; then
GIT_AUTO_FETCH_INTERVAL=3600
zgenom ohmyzsh plugins/git zgenom ohmyzsh plugins/git
zgenom ohmyzsh plugins/git-auto-fetch zgenom ohmyzsh plugins/git-auto-fetch
zgenom ohmyzsh plugins/git-extras zgenom ohmyzsh plugins/git-extras