Skip to content

Instantly share code, notes, and snippets.

@getadeo
Last active January 1, 2016 10:29
Show Gist options
  • Save getadeo/8131995 to your computer and use it in GitHub Desktop.
Save getadeo/8131995 to your computer and use it in GitHub Desktop.
# To ensure default shell set properly to zsh. Type in Terminal.
chsh -s /bin/zsh
(or) chsh -s $(which zsh)
# attaching zsh to tmux(.tmux.conf)
set-option -g default-command "reattach-to-user-namespace -l zsh"
set-option -g default-shell /bin/zsh
# Set term color
1. Write in zshrc
alias tmux="TERM=screen-256color-bce tmux"
2. Load new alias
$ source ~/.zshrc
# Auto load tmux
[[ $TERM != "screen" ]] && exec tmux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment