From ca0ccc561347202d69ef1161930811a54ef48322 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 21 Oct 2016 23:10:47 +0200 Subject: Change host handling: Explicit localhost means force use ssh; no host implies non-ssh (and requires -- before command). --- xmc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'xmc') diff --git a/xmc b/xmc index 735ef64..40c20fe 100755 --- a/xmc +++ b/xmc @@ -1,12 +1,3 @@ #!/bin/bash -# danish locale is broken - see http://bugs.debian.org/181027 -#export LC_ALL=C - -if [ $# -eq 0 ]; then - xsh localhost mc -elif [ $# -eq 1 -a "$1" = "su" ]; then - xsh localhost mc su -else - xsh $@ mc -fi +exec xsh $@ -- mc -- cgit v1.2.3