.bashrc.d/20nobeep: Style and POSIX cleanups
authorW. Trevor King <wking@tremily.us>
Mon, 4 Mar 2013 06:15:18 +0000 (01:15 -0500)
committerW. Trevor King <wking@tremily.us>
Mon, 4 Mar 2013 06:15:18 +0000 (01:15 -0500)
commit24a2543986a1a4a5f097a6ef93d9219b31bff152
treebc4450d27eda1c71eb1f183079a954f513fc8466
parent55c4c265384dc429549ba1fa502570b940b3353d
.bashrc.d/20nobeep: Style and POSIX cleanups

* `which` is not in POSIX 2008, use `command -v` instead.
* Avoid the temporary XSET variable.
* Reorganize to consolidate if statements.
src/.bashrc.d/20nobeep