diff --git a/.local/bin/scripts/help b/.local/bin/scripts/help index bf7a552..f3591d1 100755 --- a/.local/bin/scripts/help +++ b/.local/bin/scripts/help @@ -11,7 +11,8 @@ case $1 in info --vi-keys $(test "$last" != zsh && echo "--index-search=$last") zsh || LESS="$LESS +/^ *$last *\\[" man zshall;; (gh|chordpro|bat|pdfjam|reflector|topgrade|r128gain|7z|kubectl|diffr) unbuffer "$@" --help | $paginate;; - (caddy|stretchly|go|fossil) "$1" help "${@:2}" | $paginate;; + (caddy|stretchly|go|fossil) test $1 = "fossil" -a $# -eq 1 && fossil ui "$(locate -l 1 fossil*.fossil)" && break; + "$1" help "${@:2}" | $paginate;; (rails) { rails -H && rails --help; } | $paginate;; (plantuml) unbuffer "$@" -help | $paginate;; (vlc) unbuffer vlc --full-help "${@:2}" | $paginate;; diff --git a/.local/bin/scripts/m b/.local/bin/scripts/m index 4d344f2..741a954 100755 --- a/.local/bin/scripts/m +++ b/.local/bin/scripts/m @@ -12,6 +12,6 @@ test -z "$setappend" || sudo chattr -V -a "$dir" $elevate mkdir -p $(case "$last" in (*/) echo "$last";; (*) dirname "$last";; esac) $elevate mv --verbose --interactive "$@" -# Diff when interactive +# TODO Diff when interactive test -z "$setappend" || sudo chattr -V +a "$dir"