From 550ed5db4d4d58b5f3ef355000f9ab90e0fd0c6f Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 10 May 2016 19:43:49 +0200 Subject: .zsh.functions/0_terminal.zsh: Removing prezto reference. Setting command executing as default window/tab title. --- .zsh.functions/0_terminal.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.zsh.functions') 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} -- cgit v1.2.3-54-g00ecf