add zshrc for emacs

This commit is contained in:
蒋国宝 2015-12-23 01:39:12 +08:00
parent dc7b9f1e2b
commit f0d3eb5200
1 changed files with 5 additions and 0 deletions

5
mac/.zshrc-emacs Normal file
View File

@ -0,0 +1,5 @@
if [ -n "$INSIDE_EMACS" ]; then
chpwd() { print -P "\033AnSiTc %d" }
print -P "\033AnSiTu %n"
print -P "\033AnSiTc %d"
fi