Only set default zstyle when not set previously

This commit is contained in:
Olaf Conradi 2014-04-29 01:58:30 +02:00 committed by Sorin Ionescu
parent 141bfd8c1e
commit adaa029a1b
1 changed files with 3 additions and 1 deletions

View File

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