From 815f8311244134aa42906c2d8b8304c5be82fbcf Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 4 Apr 2023 15:58:22 +0200 Subject: [PATCH] Update conf files for new job --- dot_config/fish/private_config.fish.tmpl | 2 +- dot_config/fish/private_functions/private_kctx.fish | 4 ++-- dot_config/fish/private_functions/private_kns.fish | 4 ++-- private_dot_bashrc | 3 +++ 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/dot_config/fish/private_config.fish.tmpl b/dot_config/fish/private_config.fish.tmpl index d7d6d39..d11f474 100644 --- a/dot_config/fish/private_config.fish.tmpl +++ b/dot_config/fish/private_config.fish.tmpl @@ -53,4 +53,4 @@ set -gx EDITOR vim set -gx DJANGOPROJECT_DATA_DIR $HOME/.djangoproject direnv hook fish | source - +test -e {$HOME}/.config/fish/ovh.fish; and source {$HOME}/.config/fish/ovh.fish diff --git a/dot_config/fish/private_functions/private_kctx.fish b/dot_config/fish/private_functions/private_kctx.fish index 069755c..7041799 100644 --- a/dot_config/fish/private_functions/private_kctx.fish +++ b/dot_config/fish/private_functions/private_kctx.fish @@ -1,3 +1,3 @@ -function kctx --wraps=kubectx --description 'alias kctx=kubectx' - kubectx $argv; +function kctx --wraps='kubectl ctx' + kubectl ctx $argv; end diff --git a/dot_config/fish/private_functions/private_kns.fish b/dot_config/fish/private_functions/private_kns.fish index a818b0b..a2b04c5 100644 --- a/dot_config/fish/private_functions/private_kns.fish +++ b/dot_config/fish/private_functions/private_kns.fish @@ -1,3 +1,3 @@ -function kns --wraps=kubens --description 'alias kns=kubens' - kubens $argv; +function kns --wraps='kubectl ns' + kubectl ns $argv; end diff --git a/private_dot_bashrc b/private_dot_bashrc index 980570d..246c387 100644 --- a/private_dot_bashrc +++ b/private_dot_bashrc @@ -6,3 +6,6 @@ export PATH="$PATH:$HOME/.rvm/bin:$HOME/Projects/golang/bin" [ -f ~/.fzf.bash ] && source ~/.fzf.bash [[ -s "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env" + +[ -f ~/.ovh.bash ] && source ~/.ovh.bash +