updates
This commit is contained in:
1 parent
f164d8b76e
commit
5748b3409b
60 files changed
+1346
-590
No files matched your search
@@ -52,7 +52,18 @@
|
||||
history.path = "${config.xdg.dataHome}/zsh_history";
|
||||
|
||||
initContent = ''
|
||||
source <(gardenctl rc zsh --no-completion)
|
||||
# Terminal/window switchers show the working directory and active command.
|
||||
autoload -Uz add-zsh-hook
|
||||
function terminal-title-precmd() {
|
||||
print -Pn '\e]2;%m: %~\a'
|
||||
}
|
||||
function terminal-title-preexec() {
|
||||
local command="''${1//[[:cntrl:]]/}"
|
||||
print -Pn '\e]2;%m: %~ — '
|
||||
print -rn -- "$command"$'\a'
|
||||
}
|
||||
add-zsh-hook precmd terminal-title-precmd
|
||||
add-zsh-hook preexec terminal-title-preexec
|
||||
|
||||
bindkey -v
|
||||
|
||||
|
||||
Reference in new issue
Block a user