funny chars but it make copy-pasted prompts ugly.
This commit is contained in:
parent
abb7c49663
commit
0b0c13d80f
5
.bashrc
5
.bashrc
|
@ -1,7 +1,6 @@
|
|||
# If not running interactively, don't do anything more
|
||||
[ -z "$PS1" ] && return
|
||||
|
||||
# Download .fonts/dejavu/DejaVuSansMonoNerdFontCompleteMono.ttf https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/DejaVuSansMono/Regular/complete/DejaVu%20Sans%20Mono%20Nerd%20Font%20Complete%20Mono.ttf
|
||||
# Download .compile-python.sh https://git.afpy.org/mdk/compile-python/raw/branch/main/compile-python.sh
|
||||
# Download .python-prompt.sh https://git.afpy.org/mdk/python-prompt/raw/branch/main/python-prompt.sh
|
||||
|
||||
|
@ -86,8 +85,8 @@ PY_BLUE_BG='\e[48;2;53;112;160m'
|
|||
PY_YELLOW_FG='\e[38;2;255;222;87m'
|
||||
HOSTNAME_COLOR=$'\E[1;34m'
|
||||
USERNAME_COLOR=$'\E[1;35m'
|
||||
PY_PS1='$(python_prompt "${PY_BLUE_FG}🭮${PY_BLUE_BG}${PY_YELLOW_FG} %s \e[0m${PY_BLUE_FG}🭬\e[0m")'
|
||||
GIT_PS1='$(git_prompt "${GIT_RED_FG}🭮${GIT_RED_BG}\e[97m %s \e[0m${GIT_RED_FG}🭬\e[0m")'
|
||||
PY_PS1='$(python_prompt " ${PY_BLUE_FG}🭮${PY_BLUE_BG}${PY_YELLOW_FG} %s \e[0m${PY_BLUE_FG}🭬\e[0m")'
|
||||
GIT_PS1='$(git_prompt " ${GIT_RED_FG}🭮${GIT_RED_BG}\e[97m %s \e[0m${GIT_RED_FG}🭬\e[0m")'
|
||||
PS1="${_TITLE}${_PREV_FAIL}${USERNAME_COLOR}\u\e[0m@${HOSTNAME_COLOR}\H\e[0m:\e[32m\w\e[0m${PY_PS1}${GIT_PS1}\n\$ "
|
||||
|
||||
if hash direnv &>/dev/null; then
|
||||
|
|
Loading…
Reference in New Issue