Switch to my fork of termtitle, insert the current command name
This commit is contained in:
parent
c74a679f49
commit
df4f903a59
2
.zimrc
2
.zimrc
@ -7,7 +7,7 @@
|
|||||||
zmodule environment
|
zmodule environment
|
||||||
zmodule git
|
zmodule git
|
||||||
zmodule input
|
zmodule input
|
||||||
zmodule termtitle
|
zmodule ad1217/termtitle
|
||||||
zmodule utility
|
zmodule utility
|
||||||
|
|
||||||
# Prompt
|
# Prompt
|
||||||
|
4
.zshrc
4
.zshrc
@ -19,7 +19,9 @@ SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? '
|
|||||||
WORDCHARS=${WORDCHARS//[\/]}
|
WORDCHARS=${WORDCHARS//[\/]}
|
||||||
|
|
||||||
# Set window title format
|
# 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 `..`
|
# Append `../` to your input for each `.` you type after an initial `..`
|
||||||
zstyle ':zim:input' double-dot-expand yes
|
zstyle ':zim:input' double-dot-expand yes
|
||||||
|
Loading…
Reference in New Issue
Block a user