diff --git a/README.md b/README.md index 7298f03..6f0669c 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,9 @@ # Writeups / Honorable Mentions - ip3c4c_n00b https://ip3c4c.com/2202_homelab_vmware/ +# Revision 1.7.4g - updated path statement for fix_cme + - corrected path statement for fix_cme user function + # Revision 1.7.4f - ssh wide compatibility function - added function fix_sshwidecompat - will be ran in menu options N, 0 or 1 diff --git a/pimpmykali.sh b/pimpmykali.sh index 1d1ed2f..2fd1b7c 100755 --- a/pimpmykali.sh +++ b/pimpmykali.sh @@ -9,7 +9,7 @@ # Standard Disclaimer: Author assumes no liability for any damage # revision var - revision="1.7.4f" + revision="1.7.4g" # unicorn puke: red=$'\e[1;31m' @@ -409,7 +409,7 @@ fix_cme() { if [[ $check_for_local_bin_path -eq 0 ]]; then - echo "export PATH=$HOME/.local/bin:$PATH" >> $HOME/.$getshell"rc" + echo "export PATH=\$HOME/.local/bin:\$PATH" >> $HOME/.$getshell"rc" else echo "\n $redexclaim Path already exists for user $findrealuser " fi @@ -433,7 +433,7 @@ fix_cme() { if [[ $checkforlocalbinpath -eq 0 ]] then - runuser $findrealuser $getshell -c 'subshell=$(echo $SHELL | cut -d "/" -f4); echo "export PATH=\$PATH:\$HOME/.local/bin" >> $HOME/.$subshell"rc"' + runuser $findrealuser $getshell -c 'subshell=$(echo $SHELL | cut -d "/" -f4); echo "export PATH=\$HOME/.local/bin:\$PATH" >> $HOME/.$subshell"rc"' runuser $findrealuser $getshell -c 'subshell=$(echo $SHELL | cut -d "/" -f4); source $HOME/.$subshell"rc"' else echo -e "\n $redexclaim Path already exists "