diff --git a/common/.config/zsh/.zshrc b/common/.config/zsh/.zshrc index 9ca61fecf..4eae6956a 100644 --- a/common/.config/zsh/.zshrc +++ b/common/.config/zsh/.zshrc @@ -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