]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - zshrc
Add weechat, ack, git and nethack
[rbdr/dotfiles] / zshrc
diff --git a/zshrc b/zshrc
index 828d9f9ee2afc145355f3e43168512b5013de7d0..85e83ef2d4c40fe98ca68a6c0ca30b4d0c05f3a5 100644 (file)
--- a/zshrc
+++ b/zshrc
@@ -37,6 +37,7 @@ export JAVA_HOME=$(/usr/libexec/java_home)
 export PATH=/usr/local/bin:/usr/local/sbin:$PATH
 export NODE_PATH=/usr/local/lib/node_modules:$NODE_PATH
 export PYTONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
+export PS1="$PS1"'$([ -n "$TMUX" ] && tmux setenv TMUXPWD_$(tmux display -p "#I_#P") "$PWD")'
 
 #Editor.
 export EDITOR="vim"