diff options
-rwxr-xr-x | timew-shell | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/timew-shell b/timew-shell index 0c623f2..b662107 100755 --- a/timew-shell +++ b/timew-shell @@ -17,7 +17,12 @@ function timew_shell { # If line is not empty or commented, process command STDIN=($STDIN) - timew ${STDIN[@]} + if [ "$STDIN" == "status" ]; then + timew + else + timew ${STDIN[@]} + fi + last_exit_code="$?" fi done |