Enable nvim-style cursors in zsh by mode

Update bashrc to enforce cursor style
This commit is contained in:
Daniel McKnight 2025-06-05 22:38:04 -07:00
parent 862488f597
commit 3d90957006
2 changed files with 36 additions and 1 deletions

View file

@ -80,7 +80,7 @@ if [ "$color_prompt" = yes ]; then
prompt_symbol=💀
fi
PROMPT_COMMAND='if [[ $? != 0 && $? != 130 ]];then echo -e "⚠️\a";else echo -e "\a";fi'
PS1="$chrome_color┌──"'${debian_chroot:+('${path_color}'$debian_chroot'${chrome_color}')─}${VIRTUAL_ENV:+('${path_color}'$(realpath $VIRTUAL_ENV --relative-to $PWD --relative-base /home)'${chrome_color}')─}'"[${context_color}\u${chrome_color}${prompt_symbol}${context_color}\h${chrome_color}]─(${path_color}\w${chrome_color})\n${chrome_color}${context_color}${prompt}${color_off} "
PS1="$chrome_color┌──"'${debian_chroot:+('${path_color}'$debian_chroot'${chrome_color}')─}${VIRTUAL_ENV:+('${path_color}'$(realpath $VIRTUAL_ENV --relative-to $PWD --relative-base /home)'${chrome_color}')─}'"[${context_color}\u${chrome_color}${prompt_symbol}${context_color}\h${chrome_color}]─(${path_color}\w${chrome_color})\n${chrome_color}${context_color}${prompt}${color_off} \e[1 q"
PS2="$chrome_color└>$color_off "
export VIRTUAL_ENV_DISABLE_PROMPT=1