aboutsummaryrefslogtreecommitdiffstats
path: root/.zsh.functions
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-05-10 19:43:49 +0200
committerDavid Runge <dave@sleepmap.de>2016-05-10 19:43:49 +0200
commit550ed5db4d4d58b5f3ef355000f9ab90e0fd0c6f (patch)
tree9fd401d430deea6ad470bc23055bb7c0f7b860cb /.zsh.functions
parent1241010dde187a3fdaca5ae0b4c0537d07090c68 (diff)
downloaddotfiles-550ed5db4d4d58b5f3ef355000f9ab90e0fd0c6f.tar.gz
dotfiles-550ed5db4d4d58b5f3ef355000f9ab90e0fd0c6f.tar.bz2
dotfiles-550ed5db4d4d58b5f3ef355000f9ab90e0fd0c6f.tar.xz
dotfiles-550ed5db4d4d58b5f3ef355000f9ab90e0fd0c6f.zip
.zsh.functions/0_terminal.zsh: Removing prezto reference. Setting command executing as default window/tab title.
Diffstat (limited to '.zsh.functions')
-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}