summaryrefslogtreecommitdiff
path: root/xmc
diff options
context:
space:
mode:
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