Skip to content

palm completion

palm completion prints a static completion script generated from palm’s command tree.

Terminal window
palm completion bash|zsh|fish
Command What it does
palm completion bash Print the bash script.
palm completion zsh Print the zsh script.
palm completion fish Print the fish script.

Load it from your shell’s startup file.

Shell Setup
bash echo 'source <(palm completion bash)' >> ~/.bashrc
zsh echo 'source <(palm completion zsh)' >> ~/.zshrc, after compinit
fish palm completion fish > ~/.config/fish/completions/palm.fish
Argument Meaning
shell bash, zsh or fish

No options of its own. The global options apply.

The script completes the verbs and their aliases, the utilities, each command’s options, the kind words of get and describe, and the target names after --target and --targets. It does not complete source names or entity names, because those need the network. The script is static. After an upgrade that adds a command, print it again.

palm completion prints to stdout. It reads no file, writes nothing and never prompts.

Code When
0 The script printed.
2 No shell, or a shell other than bash, zsh and fish.