mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-11 15:07:01 +03:00
Add bug-report --clean
This commit is contained in:
parent
6650040158
commit
0c5ecf6445
@ -1,14 +1,17 @@
|
||||
function _tide_sub_bug-report
|
||||
argparse 'v/verbose' -- $argv
|
||||
argparse 'c/clean' 'v/verbose' -- $argv
|
||||
|
||||
fish --version
|
||||
tide --version
|
||||
printf '%s\n' $TERM
|
||||
|
||||
if set -q _flag_verbose
|
||||
printf '%s\n'
|
||||
if set -q _flag_clean
|
||||
HOME=(mktemp -d) fish --init-command "curl --silent \
|
||||
https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish |
|
||||
source && fisher install ilancosman/tide"
|
||||
else if set -q _flag_verbose
|
||||
for var in $_tide_var_list
|
||||
printf '%s\n' "$var $$var"
|
||||
end
|
||||
else
|
||||
fish --version
|
||||
tide --version
|
||||
printf '%s\n' $TERM
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user