AutoYADM commit: 2025-03-28 18:45:08

This commit is contained in:
Daniel Fichtinger 2025-03-28 18:45:08 -04:00
parent 393973db39
commit 4606237776
78 changed files with 2856 additions and 1 deletions

View file

@ -0,0 +1,8 @@
complete fzf_configure_bindings --no-files
complete fzf_configure_bindings --long help --short h --description "Print help" --condition "not __fish_seen_argument --help -h"
complete fzf_configure_bindings --long directory --description "Change the key binding for Search Directory" --condition "not __fish_seen_argument --directory"
complete fzf_configure_bindings --long git_log --description "Change the key binding for Search Git Log" --condition "not __fish_seen_argument --git_log"
complete fzf_configure_bindings --long git_status --description "Change the key binding for Search Git Status" --condition "not __fish_seen_argument --git_status"
complete fzf_configure_bindings --long history --description "Change the key binding for Search History" --condition "not __fish_seen_argument --history"
complete fzf_configure_bindings --long processes --description "Change the key binding for Search Processes" --condition "not __fish_seen_argument --processes"
complete fzf_configure_bindings --long variables --description "Change the key binding for Search Variables" --condition "not __fish_seen_argument --variables"

View file

@ -0,0 +1,20 @@
# GitNow — Speed up your Git workflow. 🐠
# https://github.com/joseluisq/gitnow
# Merge command
__gitnow_load_git_functions
complete -f -x -c merge -a '(__fish_git_branches)'
complete -f -x -c merge \
-s h -l help \
-d "Show information about the options for this command"
complete -f -x -c merge \
-s a -l abort \
-d "Abort conflicted merge"
complete -f -x -c merge \
-s c -l continue \
-d "Continue merge"

View file

@ -0,0 +1,26 @@
# GitNow — Speed up your Git workflow. 🐠
# https://github.com/joseluisq/gitnow
# Move command
__gitnow_load_git_functions
complete -f -x -c move -a '(__fish_git_branches)'
complete -f -x -c move \
-s h -l help \
-d "Show information about the options for this command"
complete -f -x -c move \
-s p -l prev \
-d "Switch to a previous branch using the `--no-apply-stash` option (equivalent to \"move -\")"
complete -f -x -c move \
-s n -l no-apply-stash \
-a '(__fish_git_branches)' \
-d "Switch to a local branch but without applying current stash"
complete -f -x -c move \
-s u -l upstream \
-a '(__fish_git_branches)' \
-d "Fetch a remote branch and switch to it applying current stash"

View file

@ -0,0 +1,23 @@
complete -c projectdo --no-files
set -l commands build run test tool
# Options
complete -c projectdo -n "not __fish_seen_subcommand_from $commands" \
-s h -l help -d 'Display usage information'
complete -c projectdo -n "not __fish_seen_subcommand_from $commands" \
-s d -l 'dry-run' -d 'Do not execute any commands with side-effects'
complete -c projectdo -n "not __fish_seen_subcommand_from $commands" \
-s q -l quiet -d 'Do not print commands before execution'
complete -c projectdo -n "not __fish_seen_subcommand_from $commands" \
-s v -l version -d 'Dsiplay the version'
# Actions
complete -c projectdo -n "not __fish_seen_subcommand_from $commands" \
-a build -d 'Build the current project'
complete -c projectdo -n "not __fish_seen_subcommand_from $commands" \
-a run -d 'Run the current project'
complete -c projectdo -n "not __fish_seen_subcommand_from $commands" \
-a test -d 'Test the current project'
complete -c projectdo -n "not __fish_seen_subcommand_from $commands" \
-a tool -d 'Invoke the tool corresponding to the current project'

View file

@ -0,0 +1,2 @@
complete --command replay --exclusive --long version --description "Print version"
complete --command replay --exclusive --long help --description "Print help"

View file

@ -0,0 +1,4 @@
complete --command spark --exclusive --long min --description "Minimum range"
complete --command spark --exclusive --long max --description "Maximum range"
complete --command spark --exclusive --long version --description "Print version"
complete --command spark --exclusive --long help --description "Print this help message"

View file

@ -0,0 +1,31 @@
# GitNow — Speed up your Git workflow. 🐠
# https://github.com/joseluisq/gitnow
# Tag command
__gitnow_load_git_functions
complete -f -x -c tag \
-d "List all tags in a lexicographic order and treating tag names as versions"
complete -f -x -c tag -a '(__fish_git_tags)'
complete -f -x -c tag \
-s h -l help \
-d "Show information about the options for this command"
complete -f -x -c tag \
-s l -l latest \
-d "Show only the latest Semver release tag version (no suffixed ones or others)"
complete -f -x -c tag \
-s x -l major \
-d "Tag auto-incrementing a major version number"
complete -f -x -c tag \
-s y -l minor \
-d "Tag auto-incrementing a minor version number"
complete -f -x -c tag \
-s z -l patch \
-d "Tag auto-incrementing a patch version number"