mirror of
https://github.com/mr0xb/dotfiles.git
synced 2026-08-27 19:34:57 -04:00
..
This commit is contained in:
parent
6c4c0198b8
commit
490cfc4a3a
5 changed files with 27 additions and 9 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
###
|
||||
|
|
|
|||
5
.zshrc
5
.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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
#===================================
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue