Browse Source

Change the zstyle config name for #607

master
Kaleb Elwert 7 years ago
parent
commit
6975b119b6
  1. 2
      modules/tmux/init.zsh
  2. 2
      runcoms/zpreztorc

2
modules/tmux/init.zsh

@ -31,7 +31,7 @@ if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" ]] && ( \ @@ -31,7 +31,7 @@ if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" ]] && ( \
# Create a 'prezto' session if no session has been defined in tmux.conf.
if ! tmux has-session 2> /dev/null; then
zstyle -s ':prezto:module:tmux' tmux_session 'session' || tmux_session='prezto'
zstyle -s ':prezto:module:tmux:session' name tmux_session || tmux_session='prezto'
tmux \
new-session -d -s "$tmux_session" \; \
set-option -t "$tmux_session" destroy-unattached off &> /dev/null

2
runcoms/zpreztorc

@ -178,4 +178,4 @@ zstyle ':prezto:module:prompt' theme 'sorin' @@ -178,4 +178,4 @@ zstyle ':prezto:module:prompt' theme 'sorin'
# zstyle ':prezto:module:tmux:iterm' integrate 'yes'
# Set the default session name:
# zstyle ':prezto:module:tmux' session 'YOUR DEFAULT SESSION NAME'
# zstyle ':prezto:module:tmux:session' name 'YOUR DEFAULT SESSION NAME'

Loading…
Cancel
Save