From adaa029a1be9dcef605e11b4b0f5e988465e6206 Mon Sep 17 00:00:00 2001 From: Olaf Conradi Date: Tue, 29 Apr 2014 01:58:30 +0200 Subject: [PATCH] Only set default zstyle when not set previously --- modules/terminal/init.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/terminal/init.zsh b/modules/terminal/init.zsh index 73d64bc..b1fa00e 100644 --- a/modules/terminal/init.zsh +++ b/modules/terminal/init.zsh @@ -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 {