Skip to content

Commit 5aab0e2

Browse files
committed
Completion (Fish): built-in logos auto-completion
1 parent 1ba5e6e commit 5aab0e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

completions/fish

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ for line in (string match -- ' -*' $whole_text)
4040
set temp $modules"\tModule"
4141
set res $res -x -a "$temp"
4242
case '<logo>'
43-
set res $res -x -a "none\tNone small\tSmall"
43+
set -l builtin_logos (fastfetch --list-logos-autocompletion)
44+
set -l temp $builtin_logos"\tBuiltin"
45+
set res $res -x -a "none\tNone small\tSmall $temp"
4446
case '<color>'
4547
set res $res -x -a "black\tColor red\tColor green\tColor yellow\tColor blue\tColor magenta\tColor cyan\tColor white\tColor default\tColor"
4648
case '<*>'

0 commit comments

Comments
 (0)