mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
Check for existence of SSH_CONNECTION variable.
This commit is contained in:
@@ -53,6 +53,11 @@ opts=
|
||||
# GUI mode, implies forking
|
||||
case "$name" in m*|g*|rm*|rg*) gui=true ;; esac
|
||||
|
||||
# Logged in over SSH? No gui.
|
||||
if [ -n "${SSH_CONNECTION}" ]; then
|
||||
gui=
|
||||
fi
|
||||
|
||||
# Restricted mode
|
||||
case "$name" in r*) opts="$opts -Z";; esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user