aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rwxr-xr-xshell6
1 files changed, 5 insertions, 1 deletions
diff --git a/shell b/shell
index df569e9..84e95d7 100755
--- a/shell
+++ b/shell
@@ -60,7 +60,11 @@ fi
window_title $DEST
# Shift args
-shift 2
+if [ -z "$COMMAND" ]; then
+ shift
+else
+ shift 2
+fi
# Dispatcher
if [ "$BASENAME" == "shells" ]; then