Sfoglia il codice sorgente

fix: remove mostly non-functional and obsolete vscode-specific handling

Kyle P Davis 2 anni fa
parent
commit
e042328247
1 ha cambiato i file con 1 aggiunte e 20 eliminazioni
  1. 1 20
      .profile

+ 1 - 20
.profile

@@ -179,23 +179,4 @@ fi
 
 # gimme gimme
 [ -d "$HOME/.gimme" ]  ||  curl -fsSL "https://github.com/KylePDavis/gimme/raw/master/gimme" | bash -
-#F="$HOME/.gimme/gimme";  ! [ -f "$F" ]  ||  source "$F"
-
-# The VS Code terminal needs a few tweaks
-if [ "$TERM_PROGRAM" = "vscode" ]; then
-
-	# patch to restore some of the option as meta escape key in VS Code on Mac
-	if [ "$ZSH_VERSION" ]; then
-		bindkey "≥" insert-last-word
-	fi
-
-	# detect if in a fully resolved HOME path and cd back to the shorter version
-	if [ "$PWD" != "$HOME" ]; then
-		ABS_HOME="$(cd "$HOME" && pwd -P)"
-		if [ "$ABS_HOME" != "$HOME" ]; then
-			if [[ "$PWD" =~ $ABS_HOME* ]]; then
-				cd "$HOME${PWD##"$ABS_HOME"}" || :
-			fi
-		fi
-	fi
-fi
+#F="$HOME/.gimme/gimme";  ! [ -f "$F" ]  ||  source "$F"