Ajout d'alias de config sdkman

main
Gil Portenseigne 2024-02-09 13:57:29 +01:00
parent 9d721a0d59
commit 1bd9571a70
1 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,8 @@ alias yp="yadm push"
alias todo="vi ~/Nextcloud/TODO/todo.txt" alias todo="vi ~/Nextcloud/TODO/todo.txt"
alias sysup="sudo apt update && sudo apt upgrade -y" alias sysup="sudo apt update && sudo apt upgrade -y"
alias k="kubectl" alias k="kubectl"
alias kns="kubens"
alias kctx="kubectx"
alias tp="ssh -L localhost:5488:emb-ofbiz-prep-ofbiz2-rds-encrypted.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon" alias tp="ssh -L localhost:5488:emb-ofbiz-prep-ofbiz2-rds-encrypted.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon"
alias tn="ssh -L localhost:5488:emb-ofbiz-nereide-ofbiz2-rds.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon" alias tn="ssh -L localhost:5488:emb-ofbiz-nereide-ofbiz2-rds.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon"
@ -41,7 +43,7 @@ ZSH_THEME="macovsky"
zstyle ':omz:update' mode auto # update automatically without asking zstyle ':omz:update' mode auto # update automatically without asking
# Uncomment the following line to enable command auto-correction. # Uncomment the following line to enable command auto-correction.
ENABLE_CORRECTION="true" ENABLE_CORRECTION="false"
COMPLETION_WAITING_DOTS="true" COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files # Uncomment the following line if you want to disable marking untracked files
@ -57,4 +59,6 @@ DISABLE_UNTRACKED_FILES_DIRTY="true"
plugins=(git docker kube-ps1 kubectx kubectl) plugins=(git docker kube-ps1 kubectx kubectl)
source $HOME/.oh-my-zsh/oh-my-zsh.sh source $HOME/.oh-my-zsh/oh-my-zsh.sh
source $HOME/.sdkman/bin/sdkman-init.sh
PROMPT='$(kube_ps1)'$PROMPT PROMPT='$(kube_ps1)'$PROMPT