I'm having trouble loading the correct version of ruby/node when I create a tmux session. This doesn't happen if I use ruby/node without tmux
$ tmux new-session -s servers
$ which ruby
/usr/bin/ruby
Compared to normal terminal session:
/Users/amree/.asdf/shims/ruby
Related dotfiles:
- https://github.com/amree/dotfiles/blob/master/tmux.conf
- https://github.com/amree/dotfiles/blob/master/zshrc
More information
- It's running the same shell (with and without
tmux
). I confirmed it by runningecho $SHELL
- Commenting out the whole
tmux
config file doesn't help