1
0
Fork 0

zsh: don't flash bad cursor and title

This commit is contained in:
Luca Bilke 2024-11-14 22:41:10 +01:00
parent 2a51db5820
commit db1ad32d67
No known key found for this signature in database
GPG Key ID: C9E851809C1A5BDE
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,7 @@
# Set cursor and title early
echo -ne '\e[5 q'
echo -ne "\e]0;$(print -P "%n@%m [%3~]")\007"
command -v direnv &>/dev/null && emulate zsh -c "$(direnv export zsh)"
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then