Skip to content

Commit 70779e5

Browse files
authored
Update APP-MANAGER
1 parent dbb8c94 commit 70779e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

APP-MANAGER

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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."

0 commit comments

Comments
 (0)