diff --git a/libexec/tmuxifier-init b/libexec/tmuxifier-init index 5f30ed7..4e826f3 100755 --- a/libexec/tmuxifier-init +++ b/libexec/tmuxifier-init @@ -2,9 +2,9 @@ set -e [ -n "$TMUXIFIER_DEBUG" ] && set -x -# Set shell to first argument that is not "-" or "--help". +# Set shell to first argument that is not "-", "-h" or "--help". for arg in "$@"; do - if [ "$arg" != "-" ] && [ "$arg" != "--help" ]; then + if [ "$arg" != "-" ] &&[ "$arg" != "-h" ] && [ "$arg" != "--help" ]; then shell="$arg" fi done