mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
nixos/foot: fix zshrc (#393899)
This commit is contained in:
commit
fcd89b619d
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,6 @@ function osc7-pwd() {
|
|||
function chpwd-osc7-pwd() {
|
||||
(( ZSH_SUBSHELL )) || osc7-pwd
|
||||
}
|
||||
add-zsh-hook -Uz chpwd chpwd-osc7-pwd
|
||||
|
||||
precmd() {
|
||||
print -Pn "\e]133;A\e\\"
|
||||
|
@ -23,3 +22,6 @@ function precmd {
|
|||
function preexec {
|
||||
print -n "\e]133;C\e\\"
|
||||
}
|
||||
|
||||
autoload -U add-zsh-hook
|
||||
add-zsh-hook -Uz chpwd chpwd-osc7-pwd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue