add .kubectx to PATH if present
This commit is contained in:
parent
32c116bdb4
commit
c69f93f9a8
7
.bashrc
7
.bashrc
|
|
@ -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
|
||||
|
||||
###############################################################################
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user