mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
19 lines
385 B
Plaintext
19 lines
385 B
Plaintext
#compdef _fastfetch fastfetch
|
|
|
|
function _fastfetch() {
|
|
local line
|
|
|
|
# single options
|
|
|
|
_arguments -C
|
|
|
|
if [[ ${#line[@]} -eq 0 ]]; then
|
|
_arguments -C \
|
|
{-h,--help}'[print help message and exit]' \
|
|
{-v,--version}'[print version and exit]'
|
|
fi
|
|
|
|
_arguments -C \
|
|
'(--structure)'{-s,--structure}'[Supply the structure to use]'
|
|
}
|