Unverified Commit cb8b6774 authored by Marc Cornellà's avatar Marc Cornellà Committed by GitHub

fix(termsupport): don't report current working directory in SSH sessions (#11703)

parent 50c67868
...@@ -121,8 +121,8 @@ fi ...@@ -121,8 +121,8 @@ fi
# #
# As of May 2021 mlterm, PuTTY, rxvt, screen, termux & xterm simply ignore the unknown OSC. # As of May 2021 mlterm, PuTTY, rxvt, screen, termux & xterm simply ignore the unknown OSC.
# Don't define the function if we're inside Emacs # Don't define the function if we're inside Emacs or in an SSH session (#11696)
if [[ -n "$INSIDE_EMACS" ]]; then if [[ -n "$INSIDE_EMACS" || -n "$SSH_CLIENT" || -n "$SSH_TTY" ]]; then
return return
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment