aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.functions/0_terminal.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zsh.functions/0_terminal.zsh b/.zsh.functions/0_terminal.zsh
index fd2ad16..85be89a 100644
--- a/.zsh.functions/0_terminal.zsh
+++ b/.zsh.functions/0_terminal.zsh
@@ -4,7 +4,7 @@
# Sets the terminal or terminal multiplexer window title.
function set-window-title {
local title_format{,ted}
- zstyle -s ':prezto:module:terminal:window-title' format 'title_format' || title_format="%s"
+ title_format='%s'
zformat -f title_formatted "$title_format" "s:$argv"
if [[ "$TERM" == screen* ]]; then
@@ -19,7 +19,7 @@ function set-window-title {
# Sets the terminal tab title.
function set-tab-title {
local title_format{,ted}
- zstyle -s ':prezto:module:terminal:tab-title' format 'title_format' || title_format="%s"
+ title_format='%s'
zformat -f title_formatted "$title_format" "s:$argv"
printf "\e]1;%s\a" ${(V%)title_formatted}