From 7946251a86c7dafa299ca57e5c1fecec386cad53 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 10 Mar 2002 03:55:40 +0000 Subject: move execute-with-no-options feature from xmc to xsh. --- xmc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'xmc') diff --git a/xmc b/xmc index 193a667..c175f86 100755 --- a/xmc +++ b/xmc @@ -1,13 +1,3 @@ #!/bin/bash -if [ $# -eq 0 ]; then - xsh - mc -else - if [ $# -eq 1 -a "x$1" = "xsu" ]; then - xsh - mc su -# exec xsh - mc su - else - xsh $@ mc -# exec xsh $@ mc - fi -fi +xsh mc $@ -- cgit v1.2.3