update to fish

This commit is contained in:
Andre Henriques 2025-01-24 13:03:32 +00:00
parent 82f5e44d5b
commit db8f9208b9
10 changed files with 2245 additions and 31 deletions

View File

@ -7,9 +7,10 @@ function cclear
# end
end
function clear
#/run/current-system/sw/bin/clear
/bin/clear
if test -e $NOT_SAFE
hyfetch
# hyfetch
else
end
end

1395
completions/deno.fish Normal file

File diff suppressed because it is too large Load Diff

1
conf.d/deno.fish Normal file
View File

@ -0,0 +1 @@
source "/home/sylv/.deno/env.fish"

138
conf.d/nix-env.fish Normal file
View File

@ -0,0 +1,138 @@
# Setup Nix
# We need to distinguish between single-user and multi-user installs.
# This is difficult because there's no official way to do this.
# We could look for the presence of /nix/var/nix/daemon-socket/socket but this will fail if the
# daemon hasn't started yet. /nix/var/nix/daemon-socket will exist if the daemon has ever run, but
# I don't think there's any protection against accidentally running `nix-daemon` as a user.
# We also can't just look for /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh because
# older single-user installs used the default profile instead of a per-user profile.
# We can still check for it first, because all multi-user installs should have it, and so if it's
# not present that's a pretty big indicator that this is a single-user install. If it does exist,
# we still need to verify the install type. To that end we'll look for a root owner and sticky bit
# on /nix/store. Multi-user installs set both, single-user installs don't. It's certainly possible
# someone could do a single-user install as root and then manually set the sticky bit but that
# would be extremely unusual.
set -l nix_profile_path /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
set -l single_user_profile_path ~/.nix-profile/etc/profile.d/nix.sh
if test -e $nix_profile_path
# The path exists. Double-check that this is a multi-user install.
# We can't just check for ~/.nix-profile/… because this may be a single-user install running as
# the wrong user.
# stat is not portable. Splitting the output of ls -nd is reliable on most platforms.
set -l owner (string split -n ' ' (command ls -nd /nix/store 2>/dev/null))[3]
if not test -k /nix/store -a $owner -eq 0
# /nix/store is either not owned by root or not sticky. Assume single-user.
set nix_profile_path $single_user_profile_path
end
else
# The path doesn't exist. Assume single-user
set nix_profile_path $single_user_profile_path
end
if test -e $nix_profile_path
# Source the nix setup script
# We're going to run the regular Nix profile under bash and then print out a few variables
for line in (command env -u BASH_ENV bash -c '. "$0"; for name in PATH "${!NIX_@}"; do printf "%s=%s\0" "$name" "${!name}"; done' $nix_profile_path | string split0)
set -xg (string split -m 1 = $line)
end
# Insert Nix's fish share directories into fish's special variables.
# nixpkgs-installed fish tries to set these up already if NIX_PROFILES is defined, which won't
# be the case when sourcing $__fish_data_dir/share/config.fish normally, but might be for a
# recursive invocation. To guard against that, we'll only insert paths that don't already exit.
# Furthermore, for the vendor_conf.d sourcing, we'll use the pre-existing presence of a path in
# $fish_function_path to determine whether we want to source the relevant vendor_conf.d folder.
# To start, let's locally define NIX_PROFILES if it doesn't already exist.
set -al NIX_PROFILES
if test (count $NIX_PROFILES) -eq 0
set -a NIX_PROFILES $HOME/.nix-profile
end
# Replicate the logic from nixpkgs version of $__fish_data_dir/__fish_build_paths.fish.
set -l __nix_profile_paths (string split ' ' -- $NIX_PROFILES)[-1..1]
set -l __extra_completionsdir \
$__nix_profile_paths/etc/fish/completions \
$__nix_profile_paths/share/fish/vendor_completions.d
set -l __extra_functionsdir \
$__nix_profile_paths/etc/fish/functions \
$__nix_profile_paths/share/fish/vendor_functions.d
set -l __extra_confdir \
$__nix_profile_paths/etc/fish/conf.d \
$__nix_profile_paths/share/fish/vendor_conf.d \
### Configure fish_function_path ###
# Remove any of our extra paths that may already exist.
# Record the equivalent __extra_confdir path for any function path that exists.
set -l existing_conf_paths
for path in $__extra_functionsdir
if set -l idx (contains --index -- $path $fish_function_path)
set -e fish_function_path[$idx]
set -a existing_conf_paths $__extra_confdir[(contains --index -- $path $__extra_functionsdir)]
end
end
# Insert the paths before $__fish_data_dir.
if set -l idx (contains --index -- $__fish_data_dir/functions $fish_function_path)
# Fish has no way to simply insert into the middle of an array.
set -l new_path $fish_function_path[1..$idx]
set -e new_path[$idx]
set -a new_path $__extra_functionsdir
set fish_function_path $new_path $fish_function_path[$idx..-1]
else
set -a fish_function_path $__extra_functionsdir
end
### Configure fish_complete_path ###
# Remove any of our extra paths that may already exist.
for path in $__extra_completionsdir
if set -l idx (contains --index -- $path $fish_complete_path)
set -e fish_complete_path[$idx]
end
end
# Insert the paths before $__fish_data_dir.
if set -l idx (contains --index -- $__fish_data_dir/completions $fish_complete_path)
set -l new_path $fish_complete_path[1..$idx]
set -e new_path[$idx]
set -a new_path $__extra_completionsdir
set fish_complete_path $new_path $fish_complete_path[$idx..-1]
else
set -a fish_complete_path $__extra_completionsdir
end
### Source conf directories ###
# The built-in directories were already sourced during shell initialization.
# Any __extra_confdir that came from $__fish_data_dir/__fish_build_paths.fish was also sourced.
# As explained above, we're using the presence of pre-existing paths in $fish_function_path as a
# signal that the corresponding conf dir has also already been sourced.
# In order to simulate this, we'll run through the same algorithm as found in
# $__fish_data_dir/config.fish except we'll avoid sourcing the file if it comes from an
# already-sourced location.
# Caveats:
# * Files will be sourced in a different order than we'd ideally do (because we're coming in
# after the fact to source them).
# * If there are existing extra conf paths, files in them may have been sourced that should have
# been suppressed by paths we're inserting in front.
# * Similarly any files in $__fish_data_dir/vendor_conf.d that should have been suppressed won't
# have been.
set -l sourcelist
for file in $__fish_config_dir/conf.d/*.fish $__fish_sysconf_dir/conf.d/*.fish
# We know these paths were sourced already. Just record them.
set -l basename (string replace -r '^.*/' '' -- $file)
contains -- $basename $sourcelist
or set -a sourcelist $basename
end
for root in $__extra_confdir
for file in $root/*.fish
set -l basename (string replace -r '^.*/' '' -- $file)
contains -- $basename $sourcelist
and continue
set -a sourcelist $basename
contains -- $root $existing_conf_paths
and continue # this is a pre-existing path, it will have been sourced already
[ -f $file -a -r $file ]
and source $file
end
end
end

650
conf.d/tea_completion.fish Normal file
View File

@ -0,0 +1,650 @@
# tea fish shell completion
function __fish_tea_no_subcommand --description 'Test if there has been any subcommand yet'
for i in (commandline -opc)
if contains -- $i logins login list ls add edit e delete rm default logout shellcompletion autocomplete whoami issues issue i list ls create c reopen open close pulls pull pr list ls checkout co clean create c close reopen open review approve lgtm a reject merge m labels label list ls create c update delete rm milestones milestone ms list ls create c close delete rm reopen open issues i add a remove r releases release r list ls create c delete rm edit e times time t add a delete rm reset list ls organizations organization org list ls create c delete rm repos repo list ls search s create c create-from-template ct fork f comment c open o notifications notification n ls list read r unread u pin p unpin clone C admin a users u list ls help h
return 1
end
end
return 0
end
complete -c tea -n '__fish_tea_no_subcommand' -f -l help -s h -d 'show help'
complete -c tea -n '__fish_tea_no_subcommand' -f -l version -s v -d 'print the version'
complete -c tea -n '__fish_tea_no_subcommand' -f -l help -s h -d 'show help'
complete -c tea -n '__fish_tea_no_subcommand' -f -l version -s v -d 'print the version'
complete -c tea -n '__fish_seen_subcommand_from logins login' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'logins login' -d 'Log in to a Gitea server'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from logins login' -a 'list ls' -d 'List Gitea logins'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from add' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from logins login' -a 'add' -d 'Add a Gitea login'
complete -c tea -n '__fish_seen_subcommand_from add' -f -l name -s n -r -d 'Login name'
complete -c tea -n '__fish_seen_subcommand_from add' -f -l url -s u -r -d 'Server URL'
complete -c tea -n '__fish_seen_subcommand_from add' -f -l token -s t -r -d 'Access token. Can be obtained from Settings > Applications'
complete -c tea -n '__fish_seen_subcommand_from add' -f -l user -r -d 'User for basic auth (will create token)'
complete -c tea -n '__fish_seen_subcommand_from add' -f -l password -s pwd -r -d 'Password for basic auth (will create token)'
complete -c tea -n '__fish_seen_subcommand_from add' -f -l ssh-key -s s -r -d 'Path to a SSH key to use, overrides auto-discovery'
complete -c tea -n '__fish_seen_subcommand_from add' -f -l insecure -s i -d 'Disable TLS verification'
complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from logins login' -a 'edit e' -d 'Edit Gitea logins'
complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from logins login' -a 'delete rm' -d 'Remove a Gitea login'
complete -c tea -n '__fish_seen_subcommand_from default' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from logins login' -a 'default' -d 'Get or Set Default Login'
complete -c tea -n '__fish_seen_subcommand_from default' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from logout' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'logout' -d 'Log out from a Gitea server'
complete -c tea -n '__fish_seen_subcommand_from shellcompletion autocomplete' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'shellcompletion autocomplete' -d 'Install shell completion for tea'
complete -c tea -n '__fish_seen_subcommand_from shellcompletion autocomplete' -f -l install -d 'Persist in shell config instead of printing commands'
complete -c tea -n '__fish_seen_subcommand_from shellcompletion autocomplete' -f -l help -s h -d 'show help'
complete -c tea -n '__fish_seen_subcommand_from whoami' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'whoami' -d 'Show current logged in user'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'issues issue i' -d 'List, create and update issues'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l comments -d 'Whether to display comments (will prompt if not provided & run interactively)'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
index,state,kind,author,author-id,url,title,body,created,updated,deadline,assignees,milestone,labels,comments
'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l state -r -d 'Filter by state (all|open|closed)'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l kind -s K -r -d 'Whether to return `issues`, `pulls`, or `all` (you can use this to apply advanced search filters to PRs)'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l keyword -s k -r -d 'Filter by search string'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l labels -s L -r -d 'Comma-separated list of labels to match issues against.
'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l milestones -s m -r -d 'Comma-separated list of milestones to match issues against.
'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l author -s A -r
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l assignee -s a -r
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l mentions -s M -r
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l from -s F -r -d 'Filter by activity after this date'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l until -s u -r -d 'Filter by activity before this date'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from issues issue i' -a 'list ls' -d 'List issues of the repository'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
index,state,kind,author,author-id,url,title,body,created,updated,deadline,assignees,milestone,labels,comments
'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l state -r -d 'Filter by state (all|open|closed)'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l kind -s K -r -d 'Whether to return `issues`, `pulls`, or `all` (you can use this to apply advanced search filters to PRs)'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l keyword -s k -r -d 'Filter by search string'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l labels -s L -r -d 'Comma-separated list of labels to match issues against.
'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l milestones -s m -r -d 'Comma-separated list of milestones to match issues against.
'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l author -s A -r
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l assignee -s a -r
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l mentions -s M -r
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l from -s F -r -d 'Filter by activity after this date'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l until -s u -r -d 'Filter by activity before this date'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from issues issue i' -a 'create c' -d 'Create an issue on repository'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l title -s t -r
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l description -s d -r
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l assignees -s a -r -d 'Comma-separated list of usernames to assign'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l labels -s L -r -d 'Comma-separated list of labels to assign'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l deadline -s D -r -d 'Deadline timestamp to assign'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l milestone -s m -r -d 'Milestone to assign'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from issues issue i' -a 'reopen open' -d 'Change state of an issue to \'open\''
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from close' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from issues issue i' -a 'close' -d 'Change state of an issue to \'closed\''
complete -c tea -n '__fish_seen_subcommand_from close' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from close' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from close' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from close' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'pulls pull pr' -d 'Manage and checkout pull requests'
complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l comments -d 'Whether to display comments (will prompt if not provided & run interactively)'
complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
index,state,author,author-id,url,title,body,mergeable,base,base-commit,head,diff,patch,created,updated,deadline,assignees,milestone,labels,comments
'
complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l state -r -d 'Filter by state (all|open|closed)'
complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'list ls' -d 'List pull requests of the repository'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
index,state,author,author-id,url,title,body,mergeable,base,base-commit,head,diff,patch,created,updated,deadline,assignees,milestone,labels,comments
'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l state -r -d 'Filter by state (all|open|closed)'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from checkout co' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'checkout co' -d 'Locally check out the given PR'
complete -c tea -n '__fish_seen_subcommand_from checkout co' -f -l branch -s b -d 'Create a local branch if it doesn\'t exist yet'
complete -c tea -n '__fish_seen_subcommand_from checkout co' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from checkout co' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from checkout co' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from checkout co' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from clean' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'clean' -d 'Deletes local & remote feature-branches for a closed pull request'
complete -c tea -n '__fish_seen_subcommand_from clean' -f -l ignore-sha -d 'Find the local branch by name instead of commit hash (less precise)'
complete -c tea -n '__fish_seen_subcommand_from clean' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from clean' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from clean' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from clean' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'create c' -d 'Create a pull-request'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l head -r -d 'Branch name of the PR source (default is current one). To specify a different head repo, use <user>:<branch>'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l base -s b -r -d 'Branch name of the PR target (default is repos default branch)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l title -s t -r
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l description -s d -r
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l assignees -s a -r -d 'Comma-separated list of usernames to assign'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l labels -s L -r -d 'Comma-separated list of labels to assign'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l deadline -s D -r -d 'Deadline timestamp to assign'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l milestone -s m -r -d 'Milestone to assign'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from close' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'close' -d 'Change state of a pull request to \'closed\''
complete -c tea -n '__fish_seen_subcommand_from close' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from close' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from close' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from close' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'reopen open' -d 'Change state of a pull request to \'open\''
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from review' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'review' -d 'Interactively review a pull request'
complete -c tea -n '__fish_seen_subcommand_from review' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from review' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from review' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from review' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from approve lgtm a' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'approve lgtm a' -d 'Approve a pull request'
complete -c tea -n '__fish_seen_subcommand_from approve lgtm a' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from approve lgtm a' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from approve lgtm a' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from approve lgtm a' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from reject' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'reject' -d 'Request changes to a pull request'
complete -c tea -n '__fish_seen_subcommand_from reject' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from reject' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from reject' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from reject' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'merge m' -d 'Merge a pull request'
complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l style -s s -r -d 'Kind of merge to perform: merge, rebase, squash, rebase-merge'
complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l title -s t -r -d 'Merge commit title'
complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l message -s m -r -d 'Merge commit message'
complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'labels label' -d 'Manage issue labels'
complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l save -s s -d 'Save all the labels as a file'
complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from labels label' -a 'list ls' -d 'List labels'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l save -s s -d 'Save all the labels as a file'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from labels label' -a 'create c' -d 'Create a label'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l name -r -d 'label name'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l color -r -d 'label color value'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l description -r -d 'label description'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l file -r -d 'indicate a label file'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from update' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from labels label' -a 'update' -d 'Update a label'
complete -c tea -n '__fish_seen_subcommand_from update' -f -l id -r -d 'label id'
complete -c tea -n '__fish_seen_subcommand_from update' -f -l name -r -d 'label name'
complete -c tea -n '__fish_seen_subcommand_from update' -f -l color -r -d 'label color value'
complete -c tea -n '__fish_seen_subcommand_from update' -f -l description -r -d 'label description'
complete -c tea -n '__fish_seen_subcommand_from update' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from update' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from update' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from update' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from labels label' -a 'delete rm' -d 'Delete a label'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l id -r -d 'label id'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'milestones milestone ms' -d 'List and create milestones'
complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
title,state,items_open,items_closed,items,duedate,description,created,updated,closed,id
'
complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l state -r -d 'Filter by milestone state (all|open|closed)'
complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -a 'list ls' -d 'List milestones of the repository'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
title,state,items_open,items_closed,items,duedate,description,created,updated,closed,id
'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l state -r -d 'Filter by milestone state (all|open|closed)'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -a 'create c' -d 'Create an milestone on repository'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l title -s t -r -d 'milestone title to create'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l description -s d -r -d 'milestone description to create'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l deadline -s expires -s x -r -d 'set milestone deadline (default is no due date)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l state -r -d 'set milestone state (default is open)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from close' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -a 'close' -d 'Change state of an milestone to \'closed\''
complete -c tea -n '__fish_seen_subcommand_from close' -f -l force -s f -d 'delete milestone'
complete -c tea -n '__fish_seen_subcommand_from close' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from close' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from close' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from close' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -a 'delete rm' -d 'delete a milestone'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -a 'reopen open' -d 'Change state of an milestone to \'open\''
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -a 'issues i' -d 'manage issue/pull of an milestone'
complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l state -r -d 'Filter by issue state (all|open|closed)'
complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l kind -r -d 'Filter by kind (issue|pull)'
complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
index,state,kind,author,author-id,url,title,body,created,updated,deadline,assignees,milestone,labels,comments
'
complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from add a' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from issues i' -a 'add a' -d 'Add an issue/pull to an milestone'
complete -c tea -n '__fish_seen_subcommand_from add a' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from add a' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from add a' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from add a' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from remove r' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from issues i' -a 'remove r' -d 'Remove an issue/pull to an milestone'
complete -c tea -n '__fish_seen_subcommand_from remove r' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from remove r' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from remove r' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from remove r' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from releases release r' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'releases release r' -d 'Manage releases'
complete -c tea -n '__fish_seen_subcommand_from releases release r' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from releases release r' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from releases release r' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from releases release r' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from releases release r' -a 'list ls' -d 'List Releases'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from releases release r' -a 'create c' -d 'Create a release'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l tag -r -d 'Tag name. If the tag does not exist yet, it will be created by Gitea'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l target -r -d 'Target branch name or commit hash. Defaults to the default branch of the repo'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l title -s t -r -d 'Release title'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l note -s n -r -d 'Release notes'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l draft -s d -d 'Is a draft'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l prerelease -s p -d 'Is a pre-release'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l asset -s a -r -d 'Path to file attachment. Can be specified multiple times'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from releases release r' -a 'delete rm' -d 'Delete a release'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l confirm -s y -d 'Confirm deletion (required)'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l delete-tag -d 'Also delete the git tag for this release'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from releases release r' -a 'edit e' -d 'Edit a release'
complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l tag -r -d 'Change Tag'
complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l target -r -d 'Change Target'
complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l title -s t -r -d 'Change Title'
complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l note -s n -r -d 'Change Notes'
complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l draft -s d -r -d 'Mark as Draft [True/false]'
complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l prerelease -s p -r -d 'Mark as Pre-Release [True/false]'
complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'times time t' -d 'Operate on tracked times of a repository\'s issues & pulls'
complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l from -s f -r -d 'Show only times tracked after this date'
complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l until -s u -r -d 'Show only times tracked before this date'
complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l total -s t -d 'Print the total duration at the end'
complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l mine -s m -d 'Show all times tracked by you across all repositories (overrides command arguments)'
complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l fields -r -d 'Comma-separated list of fields to print. Available values:
id,created,repo,issue,user,duration
'
complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from add a' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from times time t' -a 'add a' -d 'Track spent time on an issue'
complete -c tea -n '__fish_seen_subcommand_from add a' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from add a' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from add a' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from times time t' -a 'delete rm' -d 'Delete a single tracked time on an issue'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from reset' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from times time t' -a 'reset' -d 'Reset tracked time on an issue'
complete -c tea -n '__fish_seen_subcommand_from reset' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from reset' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from reset' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from times time t' -a 'list ls' -d 'List tracked times on issues & pulls'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l from -s f -r -d 'Show only times tracked after this date'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l until -s u -r -d 'Show only times tracked before this date'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l total -s t -d 'Print the total duration at the end'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l mine -s m -d 'Show all times tracked by you across all repositories (overrides command arguments)'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l fields -r -d 'Comma-separated list of fields to print. Available values:
id,created,repo,issue,user,duration
'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'organizations organization org' -d 'List, create, delete organizations'
complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from organizations organization org' -a 'list ls' -d 'List Organizations'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from organizations organization org' -a 'create c' -d 'Create an organization'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l name -s n -r
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l description -s d -r
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l website -s w -r
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l location -s L -r
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l visibility -s v -r
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l repo-admins-can-change-team-access
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from organizations organization org' -a 'delete rm' -d 'Delete users Organizations'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'repos repo' -d 'Show repository details'
complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l watched -s w -d 'List your watched repos instead'
complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l starred -s s -d 'List your starred repos instead'
complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
description,forks,id,name,owner,stars,ssh,updated,url,permission,type
'
complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l type -s T -r -d 'Filter by type: fork, mirror, source'
complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from repos repo' -a 'list ls' -d 'List repositories you have access to'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l watched -s w -d 'List your watched repos instead'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l starred -s s -d 'List your starred repos instead'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
description,forks,id,name,owner,stars,ssh,updated,url,permission,type
'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l type -s T -r -d 'Filter by type: fork, mirror, source'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from search s' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from repos repo' -a 'search s' -d 'Find any repo on an Gitea instance'
complete -c tea -n '__fish_seen_subcommand_from search s' -f -l topic -s t -d 'Search for term in repo topics instead of name'
complete -c tea -n '__fish_seen_subcommand_from search s' -f -l type -s T -r -d 'Filter by type: fork, mirror, source'
complete -c tea -n '__fish_seen_subcommand_from search s' -f -l owner -s O -r -d 'Filter by owner'
complete -c tea -n '__fish_seen_subcommand_from search s' -f -l private -r -d 'Filter private repos (true|false)'
complete -c tea -n '__fish_seen_subcommand_from search s' -f -l archived -r -d 'Filter archived repos (true|false)'
complete -c tea -n '__fish_seen_subcommand_from search s' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
description,forks,id,name,owner,stars,ssh,updated,url,permission,type
'
complete -c tea -n '__fish_seen_subcommand_from search s' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from search s' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from search s' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from search s' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from repos repo' -a 'create c' -d 'Create a repository'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l name -s -r -d 'name of new repo'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l owner -s O -r -d 'name of repo owner'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l private -d 'make repo private'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l description -s desc -r -d 'add description to repo'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l init -d 'initialize repo'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l labels -r -d 'name of label set to add'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l gitignores -s git -r -d 'list of gitignore templates (need --init)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l license -r -d 'add license (need --init)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l readme -r -d 'use readme template (need --init)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l branch -r -d 'use custom default branch (need --init)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l template -d 'make repo a template repo'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l trustmodel -r -d 'select trust model (committer,collaborator,collaborator+committer)'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from create c' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from repos repo' -a 'create-from-template ct' -d 'Create a repository based on an existing template'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l template -s t -r -d 'source template to copy from'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l name -s n -r -d 'name of new repo'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l owner -s O -r -d 'name of repo owner'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l private -d 'make new repo private'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l description -s desc -r -d 'add custom description to repo'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l content -d 'copy git content from template'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l githooks -d 'copy git hooks from template'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l avatar -d 'copy repo avatar from template'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l labels -d 'copy repo labels from template'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l topics -d 'copy topics from template'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l webhooks -d 'copy webhooks from template'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from create-from-template ct' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from fork f' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from repos repo' -a 'fork f' -d 'Fork an existing repository'
complete -c tea -n '__fish_seen_subcommand_from fork f' -f -l owner -s O -r -d 'name of fork\'s owner, defaults to current user'
complete -c tea -n '__fish_seen_subcommand_from fork f' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from fork f' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from fork f' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from comment c' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'comment c' -d 'Add a comment to an issue / pr'
complete -c tea -n '__fish_seen_subcommand_from comment c' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from comment c' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from comment c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from comment c' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from open o' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'open o' -d 'Open something of the repository in web browser'
complete -c tea -n '__fish_seen_subcommand_from open o' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from open o' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from open o' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'notifications notification n' -d 'Show notifications'
complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
id,status,updated,index,type,state,title,repository
'
complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l types -s t -r -d 'Comma-separated list of subject types to filter by. Available values:
issue,pull,repository,commit
'
complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l states -s s -r -d 'Comma-separated list of notification states to filter by. Available values:
pinned,unread,read
'
complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l mine -s m -d 'Show notifications across all your repositories instead of the current repository only'
complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from ls list' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from notifications notification n' -a 'ls list' -d 'List notifications'
complete -c tea -n '__fish_seen_subcommand_from ls list' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
id,status,updated,index,type,state,title,repository
'
complete -c tea -n '__fish_seen_subcommand_from ls list' -f -l types -s t -r -d 'Comma-separated list of subject types to filter by. Available values:
issue,pull,repository,commit
'
complete -c tea -n '__fish_seen_subcommand_from ls list' -f -l states -s s -r -d 'Comma-separated list of notification states to filter by. Available values:
pinned,unread,read
'
complete -c tea -n '__fish_seen_subcommand_from ls list' -f -l mine -s m -d 'Show notifications across all your repositories instead of the current repository only'
complete -c tea -n '__fish_seen_subcommand_from ls list' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from ls list' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from ls list' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from ls list' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from ls list' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from ls list' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from read r' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from notifications notification n' -a 'read r' -d 'Mark all filtered or a specific notification as read'
complete -c tea -n '__fish_seen_subcommand_from read r' -f -l states -s s -r -d 'Comma-separated list of notification states to filter by. Available values:
pinned,unread,read
'
complete -c tea -n '__fish_seen_subcommand_from read r' -f -l mine -s m -d 'Show notifications across all your repositories instead of the current repository only'
complete -c tea -n '__fish_seen_subcommand_from read r' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from read r' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from read r' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from read r' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from read r' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from read r' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from unread u' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from notifications notification n' -a 'unread u' -d 'Mark all filtered or a specific notification as unread'
complete -c tea -n '__fish_seen_subcommand_from unread u' -f -l states -s s -r -d 'Comma-separated list of notification states to filter by. Available values:
pinned,unread,read
'
complete -c tea -n '__fish_seen_subcommand_from unread u' -f -l mine -s m -d 'Show notifications across all your repositories instead of the current repository only'
complete -c tea -n '__fish_seen_subcommand_from unread u' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from unread u' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from unread u' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from unread u' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from unread u' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from unread u' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from pin p' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from notifications notification n' -a 'pin p' -d 'Mark all filtered or a specific notification as pinned'
complete -c tea -n '__fish_seen_subcommand_from pin p' -f -l states -s s -r -d 'Comma-separated list of notification states to filter by. Available values:
pinned,unread,read
'
complete -c tea -n '__fish_seen_subcommand_from pin p' -f -l mine -s m -d 'Show notifications across all your repositories instead of the current repository only'
complete -c tea -n '__fish_seen_subcommand_from pin p' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from pin p' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from pin p' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from pin p' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from pin p' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from pin p' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from unpin' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from notifications notification n' -a 'unpin' -d 'Unpin all pinned or a specific notification'
complete -c tea -n '__fish_seen_subcommand_from unpin' -f -l states -s s -r -d 'Comma-separated list of notification states to filter by. Available values:
pinned,unread,read
'
complete -c tea -n '__fish_seen_subcommand_from unpin' -f -l mine -s m -d 'Show notifications across all your repositories instead of the current repository only'
complete -c tea -n '__fish_seen_subcommand_from unpin' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from unpin' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from unpin' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from unpin' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from unpin' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from unpin' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from clone C' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'clone C' -d 'Clone a repository locally'
complete -c tea -n '__fish_seen_subcommand_from clone C' -f -l depth -s d -r -d 'num commits to fetch, defaults to all'
complete -c tea -n '__fish_seen_subcommand_from clone C' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from admin a' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'admin a' -d 'Operations requiring admin access on the Gitea instance'
complete -c tea -n '__fish_seen_subcommand_from users u' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from admin a' -a 'users u' -d 'Manage registered users'
complete -c tea -n '__fish_seen_subcommand_from users u' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
id,login,full_name,email,avatar_url,language,is_admin,restricted,prohibit_login,location,website,description,visibility,activated,lastlogin_at,created_at
'
complete -c tea -n '__fish_seen_subcommand_from users u' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from users u' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from users u' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from users u' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from users u' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from users u' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_seen_subcommand_from users u' -a 'list ls' -d 'List Users'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values:
id,login,full_name,email,avatar_url,language,is_admin,restricted,prohibit_login,location,website,description,visibility,activated,lastlogin_at,created_at
'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional'
complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)'
complete -c tea -n '__fish_seen_subcommand_from help h' -f -l help -s h -d 'show help'
complete -r -c tea -n '__fish_tea_no_subcommand' -a 'help h' -d 'Shows a list of commands or help for one command'

View File

@ -4,13 +4,14 @@ zoxide init fish | source
# pyenv init - | source
alias config='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
alias da='dragon-drop --and-exit'
alias da='dragon-drop -x'
alias dat='dragon-drop -t --and-exit'
alias dp='doas pacman'
alias p='pacman'
alias vim='nvim'
alias v='nvim'
alias em="emacs -nw":
alias ls="exa"
# alias ls="exa"
alias ll="exa -al"
alias la="exa -a"
alias grep="grep --color=auto"
@ -23,6 +24,7 @@ function nem
nohup emacs $argv &> /tmp/nohup.em.out & disown
end
alias nv="nvim"
alias nemacs="nohup emacs"
alias rust-musl-builder='docker run --rm -it -v "$(pwd)":/home/rust/src messense/rust-musl-cross:armv7-musleabihf'
#alias ledger="ledger -f $HOME/Documents/ledger/ledger.ledger"
@ -35,22 +37,19 @@ set -g FZF_DEFAULT_COMMAND 'rg --files --follow --ignore-vcs --hidden -g "!{node
export FZF_DEFAULT_COMMAND='rg --files --follow --ignore-vcs --hidden -g "!{node_modules/*,.git/*}"'
export EDITOR="nvim"
#set -u LD_LIBRARY_PATH $LD_LIBRARY_PATH:"/home/andr3/.build/godot_openvr/demo/addons/godot-openvr/bin/x11/libgodot_openvr.so":"/home/andr3/.steam/steam/steamapps/common/SteamVR/bin/"
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/home/andr3/.build/godot_openvr/demo/addons/godot-openvr/bin/x11/":"/home/andr3/.steam/steam/steamapps/common/SteamVR/bin/:/home/andr3/.build/tensor/TensorRT-8.5.2.2/lib/"
#export PATH=$PATH:$ANDROID_HOME/tools
#export PATH=$PATH:$ANDROID_HOME/tools/bin
#export PATH=$PATH:$ANDROID_HOME/platform-tools
export NIXPKGS_ALLOW_UNFREE=1
set --export DART_SDK "opt/flutter/bin/cache/dart-sdk"
function ssh
if [ $TERM = "xterm-kitty" ]
kitty +kitten ssh $argv
else
/bin/ssh $argv
end
end
# function ssh
# if [ $TERM = "xterm-kitty" ]
# kitty +kitten ssh $argv
# else
# /bin/ssh $argv
# end
# end
function configGit34
git config --local user.email "andr3h3nriqu3s@gmail.com"
@ -58,15 +57,10 @@ function configGit34
end
function configGitOther
git config --local user.email "andr3h3nriqu3s@gmail.com"
git config --local user.email "contact@andr3h3nriqu3s.com"
git config --local user.name "Andre Henriques"
end
function configGitUni
git config --local user.email "ag01598@surrey.ac.uk"
git config --local user.name "Goncalves Henriques, Andre (UG - Computer Science)"
end
function pickColor
grim -g "$(slurp -p -b 00000000)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:-
end
@ -77,7 +71,7 @@ function sshot
end
function sshottof
grim -g "$(slurp)" -t png - > ./$argv
grim -g "$(slurp -w 0)" -t png - > ./$argv
end
@ -87,7 +81,7 @@ source ~/.config/fish/other.fish
source ~/.config/fish/alias.fish
# pnpm
set -gx PNPM_HOME "/home/andr3/.local/share/pnpm"
set -gx PNPM_HOME "/home/sylv/.local/share/pnpm"
set -gx PATH "$PNPM_HOME" $PATH
# pnpm end
# tabtab source for packages
@ -98,7 +92,7 @@ set -gx PATH "$PNPM_HOME" $PATH
alias nshell "nix-shell --run fish"
# opam configuration
source /home/andr3/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
# source /home/andr3/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
if status is-interactive
if ! test $NOT_SAFE
@ -108,7 +102,36 @@ if status is-interactive
end
end
# Set the environment for the my ltex server
set --export USERNAME_MY_LTEX "andr3h3nriqu3s@gmail.com"
set --export APIKEY_MY_LTEX "pit-Z31pae3YaG1c"
set --export AUTHORIZATION_MY_LTEX "Basic YW5kcjNoM25yaXF1M3NAZ21haWwuY29tOmI3YjNjMTljYzc5YWY3Y2ZlNGQ5Mjk3NWEzNjFlZDBk"
# bun
set --export BUN_INSTALL "$HOME/.bun"
set --export PATH $BUN_INSTALL/bin $PATH
set --export NOT_SAFE 1
# set --export NOT_SAFE 1
# Android Home
set --export ANDROID_HOME "/home/sylv/Android/Sdk"
set --export ANDROID_SDK_ROOT "/home/sylv/Android/Sdk"
# Auto rename zellij tab
function zellij_tab_name_update --on-event fish_preexec
if set -q ZELLIJ
set title (string split ' ' $argv)[1]
command nohup zellij action rename-tab $title >/dev/null 2>&1
end
end
function steam_path_run
set -fx STEAM_COMPAT_DATA_PATH "$HOME/.steam/steam/steamapps/compatdata/$argv[1]/"
set -fx STEAM_COMPAT_CLIENT_INSTALL_PATH "$HOME/.steam/steam/steamapps/compatdata/$argv[1]/pfx"
set -fx DXVK_ASYNC 1
set -fx PROTON_HIDE_NVIDIA_GPU 0
set -fx PROTON_ENABLE_NVAPI 1
set -fx VKD3D_CONFIG "dxr"
gamemoderun ~/.steam/steam/steamapps/common/Proton\ -\ Experimental/proton run $argv[2]
end

View File

@ -1 +1,2 @@
jorgebucaran/nvm.fish
lilyball/nix-env.fish

View File

@ -1,9 +1,10 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR --export PYENV_ROOT:/home/andr3/\x2epyenv
SETUVAR --export PYENV_ROOT:/home/sylv/\x2epyenv
SETUVAR __fish_initialized:3400
SETUVAR _fisher_jorgebucaran_2F_nvm_2E_fish_files:\x7e/\x2econfig/fish/functions/_nvm_index_update\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_list\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_version_activate\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_version_deactivate\x2efish\x1e\x7e/\x2econfig/fish/functions/nvm\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/nvm\x2efish\x1e\x7e/\x2econfig/fish/completions/nvm\x2efish
SETUVAR _fisher_plugins:jorgebucaran/nvm\x2efish
SETUVAR _fisher_lilyball_2F_nix_2D_env_2E_fish_files:\x7e/\x2econfig/fish/conf\x2ed/nix\x2denv\x2efish
SETUVAR _fisher_plugins:jorgebucaran/nvm\x2efish\x1elilyball/nix\x2denv\x2efish
SETUVAR _fisher_upgraded_to_4_4:\x1d
SETUVAR fish_color_autosuggestion:BD93F9
SETUVAR fish_color_cancel:\x2dr
@ -35,6 +36,6 @@ SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR fish_user_paths:/opt/cuda/bin\x1e/home/andr3/\x2epyenv/bin\x1e/home/andr3/\x2enimble/bin\x1e/home/andr3/\x2elocal/bin\x1e/home/andr3/\x2ecargo/bin\x1e/home/andr3/\x2edeno/bin\x1e/home/andr3/scripts/\x3a/usr/local/sbin\x3a/usr/local/bin\x3a/usr/bin\x3a/usr/bin/site_perl\x3a/usr/bin/vendor_perl\x3a/usr/bin/core_perl
SETUVAR nvm_data:/home/andr3/\x2elocal/share/nvm
SETUVAR fish_user_paths:/home/sylv/Android/Sdk/platform\x2dtools\x1e/home/sylv/Android/Sdk/tools/bin\x1e/home/sylv/Android/Sdk/tools\x1e/home/sylv/\x2elocal/bin
SETUVAR nvm_data:/home/sylv/\x2elocal/share/nvm
SETUVAR nvm_mirror:https\x3a//nodejs\x2eorg/dist

View File

@ -16,8 +16,8 @@ function fish_prompt --description 'Informative prompt'
set -l pipestatus_string (__fish_print_pipestatus "[" "] " "|" (set_color $fish_color_status) \
(set_color --bold $fish_color_status) $last_pipestatus)
printf '[%s] %s%s@%s %s\f\r%s%s%s > ' (date "+%H:%M:%S") (set_color brblue) \
$USER (prompt_hostname) $pipestatus_string \
(set_color $fish_color_cwd) (pwd | sed "s/^\/home\/$USER/~/") (set_color normal)
printf '%s %s %s%s%s > ' (printf "[%s]" (date "+%H:%M:%S") | trans-text -) \
(printf "%s@%s" $USER (prompt_hostname) | trans-text -) "$pipestatus_string" \
(pwd | sed "s/^\/home\/$USER/~/" | tr -d '\n' | trans-text - ) (set_color normal)
end
end

View File

@ -11,6 +11,10 @@ function nixsh
nix-shell --run "fish" -p $argv
end
function find_program
pacman -Ql | grep $argv | head -n 1 | awk '{print $2}'
end
function nixdev
nix develop -c fish
end