Whenever I try to open any file from the terminal using sublime, for example: subl ~/.zshrc
, it works fine BUT when I try to do the same thing from inside of a tmux session I get an empty blank file.
I saw many people asking related questions and blaming sublime, but what I just figured out is that it's not sublimes fault! it's the relation between sublime and tmux. so how can I fix this? does it requires some sort of permission or what?