Browse Source

fix: minor quoting shellcheck issue VS Code terminal tweaks in profile

Kyle P Davis 2 years ago
parent
commit
4cf327c025
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .profile

+ 1 - 1
.profile

@@ -180,7 +180,7 @@ if [ "$TERM_PROGRAM" = "vscode" ]; then
 		ABS_HOME="$(cd "$HOME" && pwd -P)"
 		if [ "$ABS_HOME" != "$HOME" ]; then
 			if [[ "$PWD" =~ $ABS_HOME* ]]; then
-				cd "$HOME${PWD##$ABS_HOME}" || :
+				cd "$HOME${PWD##"$ABS_HOME"}" || :
 			fi
 		fi
 	fi