Adds polymny config to path

This commit is contained in:
Thomas Forgione 2023-11-13 11:50:23 +01:00
parent 7b5b9be2f6
commit e87307f2be
1 changed files with 4 additions and 0 deletions

View File

@ -113,6 +113,10 @@ fi
command -v kubectl > /dev/null 2>&1 command -v kubectl > /dev/null 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
if [ -d $HOME/.config/polymny ]; then
export PATH=$HOME/.config/polymny/bin:$PATH
fi
if [ -f $HOME/.kubes/current-cube ]; then if [ -f $HOME/.kubes/current-cube ]; then
export KUBECONFIG=$(cat $HOME/.kubes/current-cube) export KUBECONFIG=$(cat $HOME/.kubes/current-cube)
fi fi