1
0
Fork 0

update `.bashrc`

padova
urosm 2024-04-11 19:18:51 +02:00
parent 6036c725c1
commit a3e7da50cf
1 changed files with 5 additions and 0 deletions

View File

@ -61,3 +61,8 @@ 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