.bashrc: update
parent
d8cbc1713c
commit
ea67eebb60
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