Created
June 11, 2013 13:08
-
-
Save todashuta/5756668 to your computer and use it in GitHub Desktop.
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
# .tmux.conf の if はどうも頼りないので default-command に全部まとめちゃう | |
# .tmux.conf にこれを書くだけ | |
set-option -g default-command 'which reattach-to-user-namespace > /dev/null 2>&1 && reattach-to-user-namespace -l $SHELL || $SHELL' | |
# オマケ: バックスラッシュで改行できる...! | |
set-option -g default-command \ | |
'which reattach-to-user-namespace > /dev/null 2>&1 && \ | |
reattach-to-user-namespace -l $SHELL || $SHELL' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment