X-Git-Url: https://git.madduck.net/etc/tmux.git/blobdiff_plain/b6911b9e054bdf33ccfa7d053fa6a24cf6519d8d..refs/heads/master:/.bin/mtmux?ds=inline diff --git a/.bin/mtmux b/.bin/mtmux index 0db35e1..a40bd12 100755 --- a/.bin/mtmux +++ b/.bin/mtmux @@ -65,7 +65,7 @@ if [ -n "${window:-}" ]; then warn "Both -w and -c don't make sense, ignoring -c" cwd= fi - if [ -n "$@" ]; then + if [ -n "$*" ]; then warn "Ignoring commands specified with -w" set -- fi @@ -77,7 +77,7 @@ if [ -n "${window:-}" ]; then else - subcmd="new${name:+ -s $name}" + subcmd="set -g monitor-bell off \; new${name:+ -s $name}" for i in "$@" +; do case "$i" in (*:) wname="${i%:}";;