From 6f0fdba1217fea312d839544d4d06aea39d9f444 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 25 May 2014 00:15:29 +0100 Subject: [PATCH] Remove all argument handling from tmuxifier-tmux It's meant to be a wrapper for tmux, allowing additional arguments to be passed. Hence having the wrapper itself intercept -h as previously, or --help as removed in this commit prevents the wrapper from working properly. --- libexec/tmuxifier-tmux | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/libexec/tmuxifier-tmux b/libexec/tmuxifier-tmux index 3c75905..96328a6 100755 --- a/libexec/tmuxifier-tmux +++ b/libexec/tmuxifier-tmux @@ -2,16 +2,4 @@ set -e [ -n "$TMUXIFIER_DEBUG" ] && set -x -# Load internal utility functions. -source "$TMUXIFIER/lib/util.sh" - -# Provide tmuxifier help -if [[ " $@ " == *" --help "* ]]; then - echo "usage: tmuxifier tmux [...] - -Wrapper command for Tmux executable allowing Tmuxifier to pass in any custom -arguments specified in the TMUXIFIER_TMUX_OPTS environment variable." - exit -fi - tmux $TMUXIFIER_TMUX_OPTS "$@"