zsh: don't flash bad cursor and title
This commit is contained in:
parent
2a51db5820
commit
db1ad32d67
|
@ -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)"
|
command -v direnv &>/dev/null && emulate zsh -c "$(direnv export zsh)"
|
||||||
|
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue