AutoYADM commit: 2025-01-14 00:35:05
This commit is contained in:
parent
d8446ea3b9
commit
4f67f0fa07
2 changed files with 5 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
||||||
# login-shell=no
|
# login-shell=no
|
||||||
|
|
||||||
# app-id=foot # globally set wayland app-id. Default values are "foot" and "footclient" for desktop and server mode
|
# app-id=foot # globally set wayland app-id. Default values are "foot" and "footclient" for desktop and server mode
|
||||||
# title=foot
|
title=foot
|
||||||
# locked-title=no
|
# locked-title=no
|
||||||
|
|
||||||
# font=monospace:size=10
|
# font=monospace:size=10
|
||||||
|
|
7
.zshrc
7
.zshrc
|
@ -105,11 +105,12 @@ function zle-keymap-select zle-line-init zle-line-finish
|
||||||
viins|main) print -n '\033[5 q';; # line cursor
|
viins|main) print -n '\033[5 q';; # line cursor
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
DISABLE_AUTO_TITLE="true"
|
||||||
function set_win_title(){
|
function set_win_title(){
|
||||||
echo -ne "\033]0; $PWD \007"
|
# echo -ne "\033]0; $PWD \007"
|
||||||
|
echo -ne "\033]0; foot:${PWD/#$HOME/~} \007"
|
||||||
}
|
}
|
||||||
# precmd_functions+=(set_win_title)
|
precmd_functions+=(set_win_title)
|
||||||
zle -N zle-line-init
|
zle -N zle-line-init
|
||||||
zle -N zle-line-finish
|
zle -N zle-line-finish
|
||||||
zle -N zle-keymap-select
|
zle -N zle-keymap-select
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue