fix src for omz updates
This commit is contained in:
parent
6f8d3e06ef
commit
29a95ec965
14
zshrc
14
zshrc
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue