Add .oh-my-zsh/custom/mac.zsh

This commit is contained in:
Felix Delattre 2023-03-09 20:10:52 +01:00
parent 056d346d51
commit 38d4a2a9bc
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# 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