From 38d4a2a9bc0324a52837eb7e522366ef0157ec49 Mon Sep 17 00:00:00 2001 From: Felix Delattre Date: Thu, 9 Mar 2023 20:10:52 +0100 Subject: [PATCH] Add .oh-my-zsh/custom/mac.zsh --- dot_oh-my-zsh/custom/mac.zsh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dot_oh-my-zsh/custom/mac.zsh diff --git a/dot_oh-my-zsh/custom/mac.zsh b/dot_oh-my-zsh/custom/mac.zsh new file mode 100644 index 0000000..401ceac --- /dev/null +++ b/dot_oh-my-zsh/custom/mac.zsh @@ -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