[Fix] cleanup

This commit is contained in:
coja
2026-08-13 01:11:41 +02:00
parent f62cb40499
commit 86726cddce
312 changed files with 12274 additions and 10772 deletions
@@ -0,0 +1,5 @@
# Single positional arg: a branch name. It runs `git checkout -b`, so the new
# branch is typically a fresh name -- but offer existing branch names as a base
# to type from. Only suggest inside a git repo.
complete -c c2-worktree -x -n 'git rev-parse --is-inside-work-tree 2>/dev/null' \
-a '(git for-each-ref --format="%(refname:short)" refs/heads refs/remotes 2>/dev/null | string replace -r "^origin/" "")'
+3
View File
@@ -0,0 +1,3 @@
# `h <cmd> ...` shows a command's --help via bat, so complete it like a
# command line: first token = a command, rest = that command's own args.
complete -c h -x -a '(__fish_complete_subcommand)'
+17
View File
@@ -0,0 +1,17 @@
function __fish_pipx_complete
set -x _ARGCOMPLETE 1
set -x _ARGCOMPLETE_DFS \t
set -x _ARGCOMPLETE_IFS \n
set -x _ARGCOMPLETE_SUPPRESS_SPACE 1
set -x _ARGCOMPLETE_SHELL fish
set -x COMP_LINE (commandline -p)
set -x COMP_POINT (string length (commandline -cp))
set -x COMP_TYPE
if set -q _ARC_DEBUG
pipx 8>&1 9>&2 1>&9 2>&1
else
pipx 8>&1 9>&2 1>/dev/null 2>&1
end
end
complete --command pipx -f -a '(__fish_pipx_complete)'