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