1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 10:29:25 +00:00

Change the zstyle config name for #607

This commit is contained in:
Kaleb Elwert
2017-05-02 18:02:28 -07:00
parent d02c2951b3
commit 6975b119b6
2 changed files with 2 additions and 2 deletions

View File

@ -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