Skip to content

Instantly share code, notes, and snippets.

@RobBlackwell
Created January 31, 2018 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobBlackwell/e6b874b9b664d7496f4099bae3c363f4 to your computer and use it in GitHub Desktop.
Save RobBlackwell/e6b874b9b664d7496f4099bae3c363f4 to your computer and use it in GitHub Desktop.
Preserving your working directory in gnome-terminal
# including this ensures that new gnome-terminal tabs keep the parent `pwd` !
# https://ttboj.wordpress.com/2014/03/20/preserving-your-working-directory-in-gnome-terminal/
if [ -e /etc/profile.d/vte.sh ]; then
. /etc/profile.d/vte.sh
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment