Created
July 3, 2015 20:21
-
-
Save felix-d/ed19c70f68975af8048a to your computer and use it in GitHub Desktop.
Track current position inside emacs term
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -n "$INSIDE_EMACS" ]; then | |
chpwd() { print -P "\033AnSiTc %d" } | |
print -P "\033AnSiTu %n" | |
print -P "\033AnSiTc %d" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment