Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 417 Bytes

File metadata and controls

17 lines (12 loc) · 417 Bytes

Shell Autocomplete

To generate a shell completion script, invoke pilreg with --autocomplete and your shell name (bash, zsh, fish or PowerShell). For example:

# Bash:
pilreg --autocomplete bash > /etc/bash_completion.d/pilreg

# Zsh (Oh My Zsh):
pilreg --autocomplete zsh > ${fpath[1]}/_pilreg

# Fish:
pilreg --autocomplete fish | source

# PowerShell:
pilreg --autocomplete powershell > pilreg.ps1