latest changes

This commit is contained in:
psox 2020-10-29 11:46:05 +00:00
parent e91859c988
commit bd2878fe91
4 changed files with 8 additions and 4 deletions

@ -1 +1 @@
Subproject commit 93c837fec8e9fe61509b9dff9e909e84f7ebe32d
Subproject commit 39c79493feb71da4ba3b69eb82229804b27209cc

@ -1 +1 @@
Subproject commit 454d236d3a793668b873a7b522353c68ec182cfa
Subproject commit 2e009c7ab8e9c7496ed86473ede0917a3cefee01

@ -1 +1 @@
Subproject commit 62c5575848f1f0a96161243d18497c247c9f52df
Subproject commit 2ebfa6a59879b66b02712693731c84831255601d

6
zshrc
View File

@ -114,7 +114,7 @@ plugins=(
common-aliases
colored-man-pages
)
( which git &>/dev/null ) && plugins+=( git git-extras git-flow-avh ) && [[ "$ZSH_THEME" == "stemmet" ]] && plugins+=( git-prompt )
( which git &>/dev/null ) && plugins+=( git git-extras git-flow-avh ) && [[ "$ZSH_THEME" == "stemmet" ]] && [ -z "$STARSHIP_SHELL" ] && plugins+=( git-prompt )
( which perl &>/dev/null ) && plugins+=( perl )
( which go &>/dev/null ) && plugins+=( golang )
( which oc &>/dev/null ) && plugins+=( oc )
@ -281,6 +281,10 @@ precmd() {
fi
}
# Remove unwanted aliases
( where fd | grep -q -E '\/s?bin\/fd' ) && alias fd &>/dev/null && unalias fd
# Clean up global aliases
source <(alias -g | awk -F= '/^[A-Za-z]+/{print $1}' | xargs -I{} -n1 echo unalias "'{}'")