diff --git a/.local/bin/scripts/help b/.local/bin/scripts/help index b9b1c54..60afc0b 100755 --- a/.local/bin/scripts/help +++ b/.local/bin/scripts/help @@ -11,17 +11,17 @@ case $1 in # need to install zsh-doc package for info pages info --vi-keys "$(test "$last" != zsh && echo "--index-search=$last")" zsh || LESS="$LESS +/^ *$last *\\[" man zshall;; - (gh|chordpro|bat|pdfjam|reflector|topgrade) unbuffer "$@" --help | $paginate;; + (gh|chordpro|bat|pdfjam|reflector|topgrade|r128gain) unbuffer "$@" --help | $paginate;; (caddy|stretchly|go) "$1" help "${@:2}" | $paginate;; (plantuml) unbuffer "$@" -help | $paginate;; - (kdeconnect*) kdeconnect-cli --help-all "${@:2}" | $paginate;; (vlc) unbuffer vlc --full-help "${@:2}" | $paginate;; + (kdeconnect*) kdeconnect-cli --help-all "${@:2}" | $paginate;; (pandoc) man pandoc; highlight "Extensions" && pandoc --list-extensions;; (swaymsg) test $# -gt 1 && man sway "${@:2}" || man swaymsg;; (swaymsg-*) man sway "${1#swaymsg-}";; (*) man "$@" || { info "$1" -w | grep -v "manpages" && pinfo "$@"; } || - if which "$1" >/dev/null; then "$@" --help; "$@" -help 2>&1 | $paginate; fi;; + if which "$1" >/dev/null; then "$@" --help; "$@" -help; "$@" -h 2>&1 | $paginate; fi;; esac docs="/usr/share/doc/$1" if test -d "$docs"; then diff --git a/.local/bin/scripts/rgain b/.local/bin/scripts/rgain index c9e667e..7385ef6 100755 --- a/.local/bin/scripts/rgain +++ b/.local/bin/scripts/rgain @@ -1,3 +1,3 @@ #!/bin/sh # Recursively add replaygain to the given files or from the current directory -r128gain -r --preserve-times 1 "${@:-.}" +r128gain -r --skip-tagged --preserve-times 1 "${@:-.}"