index
:
bin
master
Unnamed repository; edit this file 'description' to name the repository.
Jonas Smedegaard
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
xmc
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'xmc')
-rwxr-xr-x
xmc
8
1 files changed, 7 insertions, 1 deletions
diff --git a/xmc b/xmc
index c175f86..12772f2 100755
--- a/
xmc
+++ b/
xmc
@@ -1,3 +1,9 @@
#!/bin/bash
-xsh mc $@
+if [ $# -eq 0 ]; then
+ host="localhost"
+else
+ host="$1"
+fi
+shift
+xsh $host mc $@