bin: help for fossil
This commit is contained in:
parent
3e5da69b16
commit
8e0b868c4a
|
@ -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;;
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue