update `.bashrc`
parent
6036c725c1
commit
a3e7da50cf
5
.bashrc
5
.bashrc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue