diff options
Diffstat (limited to 'user/zsh/zshrc-graphical.sh')
-rw-r--r-- | user/zsh/zshrc-graphical.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/user/zsh/zshrc-graphical.sh b/user/zsh/zshrc-graphical.sh index 678448e..1e9bed7 100644 --- a/user/zsh/zshrc-graphical.sh +++ b/user/zsh/zshrc-graphical.sh @@ -8,7 +8,12 @@ function ssh() { # # Since SSH doesn't provide a way of running a command on exit, this shell # function takes care of resetting the background color on exit. - command ssh "$@"; reset-bg + + # Note that we're setting PermitLocalCommand=yes here rather than in + # .ssh/config because the latter makes git over SSH fail with: + # + # fatal: protocol error: bad line length character: ?]11 + command ssh -o PermitLocalCommand=yes "$@"; reset-bg } if [ $TERM = foot ]; then |