From 4f3d96846fc68b71309046e9f6c0daec62df25e2 Mon Sep 17 00:00:00 2001 From: eKa Date: Thu, 19 Sep 2019 12:01:42 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20'tmux/utils/session-type.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tmux/utils/session-type.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tmux/utils/session-type.sh diff --git a/tmux/utils/session-type.sh b/tmux/utils/session-type.sh new file mode 100644 index 0000000..6a73fdc --- /dev/null +++ b/tmux/utils/session-type.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +if [ -n "$SSH_CONNECTION" ]; then + tmux set status-position bottom +else + tmux set -u status-position +fi \ No newline at end of file