mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
chore(zsh): various tweaks to zsh env setup and helpers
This commit is contained in:
@@ -23,11 +23,13 @@ if command-exists kubectl; then
|
||||
}
|
||||
_setup-kubectl-completion
|
||||
|
||||
switch() {
|
||||
unset -f switch
|
||||
source "$(brew --prefix switch)/switch.sh"
|
||||
switch "$@"
|
||||
}
|
||||
if command-exists brew-prefix; then
|
||||
switch() {
|
||||
unset -f switch
|
||||
source "$(brew-prefix switch)/switch.sh"
|
||||
switch "$@"
|
||||
}
|
||||
fi
|
||||
|
||||
export KREW_ROOT="$HOME/.krew"
|
||||
path_append "${KREW_ROOT}/bin"
|
||||
|
||||
Reference in New Issue
Block a user