add .kubectx to PATH if present

This commit is contained in:
Julian Scharrenbach 2026-04-30 13:02:01 +02:00
parent 32c116bdb4
commit c69f93f9a8

View File

@ -15,6 +15,11 @@ if [ -d ~/.local/bin ] ; then
export PATH
fi
if [ -d ~/.kubectx ] ; then
PATH="$HOME/.kubectx:${PATH}"
export PATH
fi
# do the same with MANPATH
if [ -d $HOME/man ]; then
MANPATH=$HOME/man:"${MANPATH}"
@ -49,7 +54,7 @@ shopt -s cmdhist
shopt -s cdspell
shopt -s hostcomplete
# If not running interactively, don't do any more
# If not running interactively don't do any more
[ -z "$PS1" ] && return
###############################################################################