1
0
Fork 0

.bashrc: update

main
urosm 2024-05-05 17:53:52 +02:00
parent f9630f9375
commit 3ebb11ac71
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" bind "set visible-stats on"
# prompt # 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 # title
PS1="\[\e]0;\u@\h:\w\a\]$PS1" PS1="\[\e]0;\u@\h:\w\a\]$PS1"
@ -61,8 +61,3 @@ osc7_cwd() {
printf '\e]7;file://%s%s\e\\' "${HOSTNAME}" "${encoded}" printf '\e]7;file://%s%s\e\\' "${HOSTNAME}" "${encoded}"
} }
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND}osc7_cwd PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND}osc7_cwd
prompt_marker() {
printf '\e]133;A\e\\'
}
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }prompt_marker