fix src for omz updates

This commit is contained in:
psox 2021-11-01 10:42:23 +00:00
parent 6f8d3e06ef
commit 29a95ec965
1 changed files with 8 additions and 6 deletions

14
zshrc
View File

@ -69,12 +69,11 @@ DISABLE_UNTRACKED_FILES_DIRTY="true"
HIST_STAMPS="yyyy-mm-dd"
ZSH_CUSTOM=$(dirname $ZSH)/zsh-custom
plugins=(
$pre_plugins
zsh_reload
gnu-utils
common-aliases
colored-man-pages
plugins=(
$pre_plugins
gnu-utils
common-aliases
colored-man-pages
)
( which git &>/dev/null ) && plugins+=( git git-extras git-flow-avh ) && [[ "$ZSH_THEME" == "stemmet" ]] && [ -z "$_STARSHIP_Y_" ] && plugins+=( git-prompt )
( which perl &>/dev/null ) && plugins+=( perl )
@ -237,6 +236,9 @@ then
source <(starship init zsh --print-full-init)
fi
# alias reload
alias src='omz reload'
# Remove unwanted aliases
( where fd | grep -qE '\/s?bin\/fd' ) && alias fd &>/dev/null && unalias fd