bash: Solo correr OSC 7 localmente
This commit is contained in:
parent
dce73d7f82
commit
df697759e2
1 changed files with 3 additions and 1 deletions
2
.bashrc
2
.bashrc
|
@ -33,5 +33,7 @@ osc7_cwd() {
|
||||||
printf '\e]7;file://%s%s\e\\' "$HOSTNAME" "$(_urlencode "$PWD")"
|
printf '\e]7;file://%s%s\e\\' "$HOSTNAME" "$(_urlencode "$PWD")"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ! "$REMOTE"; then
|
||||||
PROMPT_COMMAND="osc7_cwd;$PROMPT_COMMAND"
|
PROMPT_COMMAND="osc7_cwd;$PROMPT_COMMAND"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue