diff --git a/sh/.config/sh/alias b/sh/.config/sh/alias index 5c64994..d26c91e 100644 --- a/sh/.config/sh/alias +++ b/sh/.config/sh/alias @@ -107,6 +107,8 @@ if exist imv-folder; then } else for cmd in imv nsxiv vimiv sxiv feh; do + # shellcheck disable=SC2139 + # since we *want* it defined at definition if exist "$cmd"; then alias iv="$cmd"; break; fi done fi @@ -128,3 +130,9 @@ fi if exist sc-im; then alias sc=sc-im fi + +if exist tidy-viewer; then + tv() { + tidy-viewer -a -e "$@" | less -S -R + } +fi