tmuxでOSXのopenコマンド使えない
以下みたいなエラー出る。
The window server could not be contacted. open must be run with a user logged in at the console, either as that user or as root.
ここに従ってreattach-to-user-namespace
をインストールしてtmuxの設定ファイルに加える。
http://www.elmund.io/osx/2015/07/10/open-command-in-osx-tmux/
$ brew update $ brew install reattach-to-user-namespace $ brew upgrade reattach-to-user-namespace $ echo "set -g default-command \"reattach-to-user-namespace -l ${SHELL}\"" >> ~/.tmux.conf
使えるようになった!よかったー