tmux-plugins / tmux-sensible

basic tmux settings everyone can agree on
MIT License
1.73k stars 90 forks source link

Add config option for preferred shell (bash, zsh, fish, etc.) #2

Closed lynndylanhurley closed 10 years ago

lynndylanhurley commented 10 years ago

It looks like this line is forcing the use of bash:

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

I was able to resolve the issue by setting this at the end of my .tmux.conf:

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

Is it possible to add a config option for the preferred shell command?

bruno- commented 10 years ago

Fair point, thanks for reporting.

We're using $SHELL env var now.