osx - sublime text not opening from command line tmux -


i have sublime text alias can call terminal on macos.

since started using tmux, running following command opens sublime not on current directory. it's aliases not accepting arguments on tmux.

subl . 

without tmux command works fine.

any known issue tmux alias arguments?

this answer superuser did trick me.

brew install reattach-to-user-namespace 

and append following ~/.tmux.conf

set-option -g default-command "reattach-to-user-namespace -l zsh" 

lastly, source config file tmux

tmux source ~/.tmux.conf 

i use subl . time! it's shame you've trained not use helpful command.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -