refactor: use __fish_palette in small utility functions (2/2)

25 duplicated declarations replaced by 7 calls. Completes the 33 structural
conversions: 167 declarations removed, 33 calls added, and --structural
confirms every one of the 33 diffs is declaration removals plus inserted
calls only -- no rendering text touched.

functions/y.fish is the one file in the repo with no trailing newline on
main; its original file ending is preserved rather than normalised.
This commit is contained in:
2026-09-07 20:08:45 -04:00
parent f3f6e6356b
commit d75bf4f1b4
7 changed files with 7 additions and 25 deletions
+1 -4
View File
@@ -52,10 +52,7 @@
# NOTES
# Typo abbreviation: open-repo (expands to repo-open on space/enter).
function repo-open --description 'Open the origin remote of the current repo in a browser'
set -l c_head (set_color --bold cyan)
set -l c_cmd (set_color --bold)
set -l c_flag (set_color yellow)
set -l c_reset (set_color normal)
__fish_palette
argparse -X 0 h/help p/print r/root -- $argv
or return 1