Last active
July 12, 2018 08:51
-
-
Save H6/27438fc1ae68dd325c45 to your computer and use it in GitHub Desktop.
Allow to open SublimeText from tmux on OS X
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 you don't have it install tmux | |
brew install tmux | |
# needed as a wrapper to handle subl -w in tmux | |
brew install reattach-to-user-namespace | |
# Create file ~/.tmux.conf | |
# Add the folo | |
echo "set-option -g default-command \"reattach-to-user-namespace -l bash\"" >> ~/.tmux.conf | |
# Restart the tmux server | |
tmux kill-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment