File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,9 @@ function _check_if_home_local_bin_is_not_in_path() {
8484 read -rp " ◆ Want to add it to ~/.profile and ~/.bash_profile? (Y/n): " yn
8585 if ! echo " $yn " | grep -i ' ^n' > /dev/null 2>&1 ; then
8686 if test -f " $HOME /.profile" ; then
87- printf ' \n%s\n' ' export PATH=" $PATH:${XDG_BIN_HOME:-$HOME/.local/bin}" ' >> " $HOME /.profile"
87+ printf ' \n%s\n' " export PATH=\"\ $ PATH:\ $ {XDG_BIN_HOME:-\ $ HOME/.local/bin}\" " >> " $HOME /.profile"
8888 elif test -f " $HOME /.bash_profile" ; then
89- printf ' \n%s\n' ' export PATH=" $PATH:${XDG_BIN_HOME:-$HOME/.local/bin}" ' >> " $HOME /.bash_profile"
89+ printf ' \n%s\n' " export PATH=\"\ $ PATH:\ $ {XDG_BIN_HOME:-\ $ HOME/.local/bin}\" " >> " $HOME /.bash_profile"
9090 fi
9191 echo " $DIVIDING_LINE "
9292 echo " You might need to resource above files or reboot to apply these changes."
You can’t perform that action at this time.
0 commit comments