Repository navigation
shell completions
Tab completion for the XISOSharp CLI is shipped for PowerShell, bash, zsh and
fish, together with a xisosharp(1) manual page. The files live under
docs/completions and docs/man, so they are also
served by this documentation site.
| Shell | File |
|---|---|
| PowerShell 7+ | completions/xisosharp.ps1 |
| bash | completions/xisosharp.bash |
| zsh | completions/_xisosharp |
| fish | completions/xisosharp.fish |
| man page | man/xisosharp.1 |
The scripts complete every documented verb and flag. Value flags
(--format, --name-policy, --jobs, …) complete their documented values.
The bash, zsh and PowerShell scripts offer flags before the first positional
argument (fish completes flags in any position).
Supply the script from your profile:
# In $PROFILE
. "$HOME\path\to\xisosharp.ps1"Completion covers both XISOSharp and the lowercase xisosharp alias installed
by package managers. It requires PowerShell 7 because it uses
Register-ArgumentCompleter -Native.
# current shell
source /path/to/xisosharp.bash
# persistent (pick one)
sudo cp xisosharp.bash /etc/bash_completion.d/xisosharp
cp xisosharp.bash ~/.local/share/bash-completion/completions/XISOSharpmkdir -p ~/.zsh/completions
cp _xisosharp ~/.zsh/completions/_xisosharp
# In ~/.zshrc, before compinit:
fpath=(~/.zsh/completions $fpath)
autoload -Uz compinit && compinitcp xisosharp.fish ~/.config/fish/completions/XISOSharp.fishThe fish script registers completions for both XISOSharp and xisosharp.
The manual page is plain roff and installs into the standard man1 directory:
sudo install -Dm644 docs/man/xisosharp.1 /usr/local/share/man/man1/xisosharp.1
man xisosharpor view it without installing:
man -l docs/man/xisosharp.1The release bundles are also described by generated winget, Scoop and Homebrew
manifests under packaging/, and a container image is available from GHCR. See
Getting Started for the install
commands.
-
User Guide
-
Library API
-
Development