summaryrefslogtreecommitdiff
path: root/xsh
diff options
context:
space:
mode:
Diffstat (limited to 'xsh')
-rwxr-xr-xxsh11
1 files changed, 3 insertions, 8 deletions
diff --git a/xsh b/xsh
index c9a04b4..630709c 100755
--- a/xsh
+++ b/xsh
@@ -54,11 +54,6 @@ done
# FIXME: needs shell wrapper (provided by SSH but not in local use)
[ -z "$V" ] || set -- "$@"\; sleep 4
-case "$HOST" in
- '')
- termwrapper "$@"
- ;;
- *)
- termwrapper ssh $ssh_opts $HOST "$@"
- ;;
-esac
+[ -z "$HOST" ] || set -- ssh $ssh_opts $HOST "$@"
+
+termwrapper "$@"