Browse Source

Switch to my fork of termtitle, insert the current command name

master
Adam Goldsmith 2 years ago
parent
commit
df4f903a59
  1. 2
      .zimrc
  2. 4
      .zshrc

2
.zimrc

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
zmodule environment
zmodule git
zmodule input
zmodule termtitle
zmodule ad1217/termtitle
zmodule utility
# Prompt

4
.zshrc

@ -19,7 +19,9 @@ SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? ' @@ -19,7 +19,9 @@ SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? '
WORDCHARS=${WORDCHARS//[\/]}
# Set window title format
zstyle ':zim:termtitle' format '%~:zsh'
zstyle ':zim:termtitle' format '%~:${1:-zsh}'
# Set window title before running a command
zstyle ':zim:termtitle' hooks 'precmd' 'preexec'
# Append `../` to your input for each `.` you type after an initial `..`
zstyle ':zim:input' double-dot-expand yes

Loading…
Cancel
Save