Skip to content

Instantly share code, notes, and snippets.

@non-static
Last active January 1, 2023 02:12
Show Gist options
  • Save non-static/31670e838e6a0585e1540cc7f06799d2 to your computer and use it in GitHub Desktop.
Save non-static/31670e838e6a0585e1540cc7f06799d2 to your computer and use it in GitHub Desktop.
oh-my-zsh + tmux + auto start tmux
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
set -g @plugin 'dracula/tmux'
# Set 256 colors
set -s default-terminal 'tmux-256color'
set -g mouse
set -sg escape-time 50
# After save, run `tmux new` and use `Ctrl-b` + `Shift-i` to install plugins.
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
tmux
)
ZSH_TMUX_AUTOSTART=true
#!/bin/bash
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment