From: W. Trevor King Date: Thu, 19 Mar 2015 15:42:02 +0000 (-0700) Subject: .bashrc.d/20nobeep: Change '-blength' -> '--blength' X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=abee64c4518610572cfd9b7d83897968b52fb96c;p=dotfiles-public.git .bashrc.d/20nobeep: Change '-blength' -> '--blength' setterm from util-linux 2.25.2 uses GNU-style, double-dash long options. I'm not exactly sure when the change took place, but util-linux 2.24.1 used single-dash long options. 2.25.2 also supports the single-dash versions, but I don't need to be backward compatible ;). --- diff --git a/src/.bashrc.d/20nobeep b/src/.bashrc.d/20nobeep index a887db6..b2a1d3e 100644 --- a/src/.bashrc.d/20nobeep +++ b/src/.bashrc.d/20nobeep @@ -7,5 +7,5 @@ fi # turn of terminal beeps in the console, unless connecting via SSH if [ -n "$TERM" ] && [ -z "$SSH_CLIENT" ]; then - setterm -blength 0 + setterm --blength 0 fi