dotfiles/dot_oh-my-zsh/custom/mac.zsh

13 lines
467 B
Bash
Raw Normal View History

2023-03-09 19:10:52 +00:00
# Brew Autocompletion
alias codium="/opt/homebrew/bin/codium"
alias kversions="kubectl get deployments -o jsonpath='{range .items[*]}{.spec.selector.matchLabels.app} - {.spec.template.spec.containers[0].image}{\"\n\"}{end}'"
if type brew &>/dev/null; then
fpath+=$(brew --prefix)/share/zsh/site-functions
fi
# Zsh Autocompletion
autoload -U +X compinit && compinit
autoload -U +X bashcompinit && bashcompinit
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH