diff --git a/functions/logs.fish b/functions/logs.fish index 8c9cb06..91507e8 100644 --- a/functions/logs.fish +++ b/functions/logs.fish @@ -50,16 +50,16 @@ function logs --description 'Browse terminal log files interactively with fzf' if set -q _flag_help __fish_palette - echo "Usage: "$c_accent"logs"$c_reset" ["$c_arg"OPTIONS"$c_reset"]" + echo "$c_head""Usage:$c_reset "$c_cmd"logs"$c_reset" ["$c_arg"OPTIONS"$c_reset"]" echo "" echo "Browse and open terminal log files interactively." echo "Logs sorted newest-first. Type to fuzzy-filter by date or category." echo "" - echo "Options:" - echo " "$c_arg"-h, --help"$c_reset" Show this help" - echo " "$c_arg"-c, --category"$c_reset" Limit to one category: scrollback, paru, yay" + echo "$c_head""Options:$c_reset" + echo " "$c_flag"-h, --help"$c_reset" Show this help" + echo " "$c_flag"-c, --category"$c_reset" Limit to one category: scrollback, paru, yay" echo "" - echo "Keys in fzf:" + echo "$c_head""Keys in fzf:$c_reset" echo " "$c_arg"Enter"$c_reset" Open in \$PAGER" echo " "$c_arg"Ctrl-E"$c_reset" Open in \$EDITOR" echo " "$c_arg"Ctrl-D"$c_reset" Delete selected log" diff --git a/functions/smart_exit.fish b/functions/smart_exit.fish index 747b605..bbb73dc 100644 --- a/functions/smart_exit.fish +++ b/functions/smart_exit.fish @@ -47,13 +47,13 @@ function smart_exit --description 'Capture colorized scrollback before exiting, __fish_palette if set -q _flag_help - echo -e "Usage: $c_accent"exit"$c_reset [$c_arg""OPTIONS""$c_reset]" + echo -e "$c_head""Usage:$c_reset $c_cmd"exit"$c_reset [$c_arg""OPTIONS""$c_reset]" echo "" echo "Closes the current shell session, automatically archiving the window scrollback." echo "" - echo "Options:" - echo -e " $c_arg""-h, --help""$c_reset Show this help message" - echo -e " $c_arg""-n, --no-log""$c_reset Exit immediately $c_cmd""without""$c_reset saving a scrollback history log" + echo "$c_head""Options:$c_reset" + echo -e " $c_flag""-h, --help""$c_reset Show this help message" + echo -e " $c_flag""-n, --no-log""$c_reset Exit immediately without saving a scrollback history log" return 0 end