Only set default zstyle when not set previously
This commit is contained in:
parent
141bfd8c1e
commit
adaa029a1b
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,9 @@ if [[ "$TERM" == (dumb|linux|*bsd*) ]]; then
|
|||
fi
|
||||
|
||||
# Set default title for terminal multiplexers to the window title.
|
||||
zstyle ':prezto:module:terminal' multiplexer-title 'window-title'
|
||||
if zstyle -T ':prezto:module:terminal' multiplexer-title; then
|
||||
zstyle ':prezto:module:terminal' multiplexer-title 'window-title'
|
||||
fi
|
||||
|
||||
# Sets the terminal or terminal multiplexer window title.
|
||||
function set-window-title {
|
||||
|
|
Loading…
Reference in a new issue