bin: help adjustments
This commit is contained in:
parent
94f03e791a
commit
616d51d4f9
|
@ -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
|
||||
|
|
|
@ -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 "${@:-.}"
|
||||
|
|
Loading…
Reference in New Issue