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

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -