RepositoryShell
SI

sigoden/argc-completions

{bash,zsh,fish,powershell,nushell}-completions for 1000+ commands.

468stars
30forks
0issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: bash-completions

#1 Repository of the week

1
TINIX TRENDING·Topic: cross-shell

#1 Repository of the week

1
TINIX TRENDING·Topic: powershell-completions

#1 Repository of the week

Argc-completions

{bash,zsh,fish,powershell,nushell}-completions for 1000+ commands.

argc-completions

Features

  • Autocomplete for 1000+ commands (full list).
  • Automatically generate completion scripts from the help text or man pages.
  • Dynamic completion leads to fewer scripts loading and faster terminal startup.
  • Easily upgrade completion scripts as command are upgraded.
  • Cross shells: bash/zsh/powershell/fish/nushell/elvish/xonsh/tcsh.
  • Cross platforms: linux, macOS, and Windows.

Amazing features that native completion lacks or is difficult to implement

FeatureShowcase
Parallel Computingcomplete-git-checkout
 _choice_ref() { 
   _argc_util_parallel _choice_branch ::: _choice_tag ::: _choice_head
}
Fetch remote datacomplete-cargo-add
Complete multiple values
(comma-seperated)
complete-dd-iflag
Complete multiple partscomplete-rustup-target-add
Complete key-value pairscomplete-ssh-o
Complete for plugins
(git,cargo ...)
complete-cargo-nextest
Delegate to another command
(sudo,doas,npx...)
complete-yarn-workspace
Style & colorcomplete-colors

Getting Started

git clone https://github.com/sigoden/argc-completions.git
cd argc-completions
./scripts/download-tools.sh
./scripts/setup-shell.sh bash  # bash/zsh/powershell/fish/nushell/elvish/xonsh/tcsh

For Windows, please run the above code in Git Bash. For macOS, brew install bash gawk gnu-sed to avoid compatibility issues.

Tools downloaded by ./scripts/download-tools.sh:

  • argc: completion engine
  • yq: YAML/JSON/XML/CSV/TOML processor

Uninstall easily

  1. Delete the argc-completions directory that you have downloaded.
  2. Undo the changes made to the shell rcfile (~/.bashrc, ~/.zshrc, ...).

Generate your own completion script

./scripts/generate.sh your-command

generate

To learn how generate works, see docs/generate.md

To learn various complete patterns, see docs/complete-patterns.md

License

Argc-completions is made available under the terms of the MIT License.

See the LICENSE file for license details.

Similar Projects

Discover other similar projects and AI models.

RepositoryRust
ajeetdsouza/zoxide

A smarter cd command. Supports all major shells.

40.9k
Nov 30, 2026
RepositoryRust
atuinsh/atuin

✨ Shell history and AI agent sessions, searchable, resumable and synced across machines

32.8k
Dec 1, 2026
RepositoryGo
asdf-vm/asdf

Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

25.6k
Dec 2, 2026
RepositoryGo
direnv/direnv

unclutter your .profile

15.6k
Nov 30, 2026
RepositoryShell
acmesh-official/acme.sh

A pure Unix shell script ACME client for SSL / TLS certificate automation

48.0k
Nov 28, 2026
RepositoryShell
acmesh-official/acme.sh

A pure Unix shell script ACME client for SSL / TLS certificate automation

48.0k
Nov 28, 2026
RepositoryShell
nvm-sh/nvm

Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions.

96.3k
Nov 30, 2026
RepositoryShell
dylanaraps/pure-bash-bible

📖 A collection of pure bash alternatives to external processes.

41.7k
Nov 28, 2023
RepositoryShell
zsh-users/zsh-autosuggestions

Fish-like autosuggestions for zsh

36.2k
Jun 24, 2025