summaryrefslogtreecommitdiff
path: root/xmc
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-02-28 14:09:04 +0000
committerJonas Smedegaard <dr@jones.dk>2002-02-28 14:09:04 +0000
commitcafcd5d4368e57f162a641ed3f4835ecb5a6d391 (patch)
tree56166fbf16289d8b388cf0f1f9b51e28c3c4bdf9 /xmc
Initial revision
Diffstat (limited to 'xmc')
-rwxr-xr-xxmc13
1 files changed, 13 insertions, 0 deletions
diff --git a/xmc b/xmc
new file mode 100755
index 0000000..596750b
--- /dev/null
+++ b/xmc
@@ -0,0 +1,13 @@
+#!/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