Enable nvim-style cursors in zsh by mode
Update bashrc to enforce cursor style
This commit is contained in:
parent
862488f597
commit
3d90957006
2 changed files with 36 additions and 1 deletions
2
.bashrc
2
.bashrc
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue