1
0
Fork 0

update `.bashrc`

padova
urosm 2024-05-05 17:53:52 +02:00
parent 99ceaf608f
commit 6feece7542
1 changed files with 1 additions and 6 deletions

View File

@ -23,7 +23,7 @@ bind "set colored-stats on"
bind "set visible-stats on"
# prompt
PS1=" \[\e[1m\]\u@\h\[\e[0m\] \[\e[1;34m\]\w\[\e[0m\] \[\e[1m\]\$\[\e[0m\] "
PS1="\[\e[1m\]\u@\h\[\e[0m\]:\[\e[1;34m\]\w\[\e[0m\]\[\e[1m\]\$\[\e[0m\] "
# title
PS1="\[\e]0;\u@\h:\w\a\]$PS1"
@ -61,8 +61,3 @@ osc7_cwd() {
printf '\e]7;file://%s%s\e\\' "${HOSTNAME}" "${encoded}"
}
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND}osc7_cwd
prompt_marker() {
printf '\e]133;A\e\\'
}
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }prompt_marker