From 490cfc4a3ae0d83dccbffef72d366f20085d1f0d Mon Sep 17 00:00:00 2001 From: mr0xb <47467008+mr0xb@users.noreply.github.com> Date: Thu, 28 May 2026 10:00:17 -0400 Subject: [PATCH] .. --- .config/mise/config.toml | 3 +++ .config/starship.toml | 10 ++++++++++ .zshrc | 5 +++++ .zshrc.d/aliases.zsh | 14 +++++--------- .zshrc.d/work.zsh | 4 ++++ 5 files changed, 27 insertions(+), 9 deletions(-) diff --git a/.config/mise/config.toml b/.config/mise/config.toml index 1facc92..915f6bb 100644 --- a/.config/mise/config.toml +++ b/.config/mise/config.toml @@ -1,5 +1,6 @@ [tools] awscli = { version = "latest", symlink_bins = "true" } +flux2 = "latest" fzf = "latest" go = "1.26.3" kubecolor = "latest" @@ -12,4 +13,6 @@ ripgrep = "latest" starship = "latest" teleport-ent = "latest" terraform = "1.9.8" +terragrunt = "0.99.1" +yq = "latest" zellij = "latest" diff --git a/.config/starship.toml b/.config/starship.toml index 959cd4a..a5838c5 100644 --- a/.config/starship.toml +++ b/.config/starship.toml @@ -30,6 +30,7 @@ $package\ $golang\ $helm\ $terraform\ +${custom.terragrunt}\ $nim\ $nodejs\ $python\ @@ -243,6 +244,15 @@ symbol = '󰘬' format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '󱁢' +### +# Configures the terragrunt module (custom, no native starship support) +### +[custom.terragrunt] +command = "terragrunt --version 2>/dev/null | grep -oE 'v[0-9]+\\.[0-9]+\\.[0-9]+'" +when = "test -f terragrunt.hcl" +format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $output ](fg:foreground bg:box))' +symbol = 'TG' + ### # Configures the nodejs module ### diff --git a/.zshrc b/.zshrc index b8e116a..2a461e8 100644 --- a/.zshrc +++ b/.zshrc @@ -51,3 +51,8 @@ source ~/.local/share/fzf-tab/fzf-tab.plugin.zsh source ~/.config/themes/fzf-challengerdeep.sh eval "$(starship init zsh)" +export PATH="/opt/homebrew/opt/libpq/bin:$PATH" + + +# Load Angular CLI autocompletion. +source <(ng completion script) diff --git a/.zshrc.d/aliases.zsh b/.zshrc.d/aliases.zsh index f543cfd..65279b0 100644 --- a/.zshrc.d/aliases.zsh +++ b/.zshrc.d/aliases.zsh @@ -78,16 +78,12 @@ alias kgsec='kubectl get secret' alias kgj='kubectl get job' alias fqdn="kubectl get ingress -o json | jq '.items[] | .metadata.namespace + \": \" + .metadata.annotations.\"external-dns.alpha.kubernetes.io/hostname\"'" alias fqdna="kubectl get ingress --all-namespaces -o json | jq '.items[] | .metadata.namespace + \": \" + .metadata.annotations.\"external-dns.alpha.kubernetes.io/hostname\"'" -#Kubernetes + Teleport + +#=================================== +# Kubernetes + Teleport +#=================================== alias tkl='tsh kube ls' -kutil () { - for host in $(kubectl get nodes --no-headers | cut -d' ' -f1) - do - echo "$host - $(kubectl get nodes -o jsonpath='{.metadata.labels.topology\.kubernetes\.io/zone}' $host)" - kubectl describe node "$host" | grep --color Allocated -A 5 | grep --color -ve Event -ve Allocated -ve percent -ve -- - echo - done -} + #=================================== # USEFUL / CONVIENENCE #=================================== diff --git a/.zshrc.d/work.zsh b/.zshrc.d/work.zsh index a2ea223..32ccdff 100644 --- a/.zshrc.d/work.zsh +++ b/.zshrc.d/work.zsh @@ -1,4 +1,8 @@ [ -f $HOME/.config/.vault ] && source ~/.config/.vault +<<<<<<< HEAD +======= +[ -f $HOME/.vault-token ] && source ~/.vault-token +>>>>>>> 64f3fcd (updates) export AWS_VAULT_BACKEND=keychain export AWS_VAULT_KEYCHAIN_NAME="aws-vault"