| XBPS-COMMAND-NOT-FOUND(7) | Miscellaneous Information Manual | XBPS-COMMAND-NOT-FOUND(7) |
xbps-command-not-found —
Suggest installation of xbps packages in interactive shell
sessions
/usr/libexec/xbps-command-not-found |
command |
When a shell encounters a program it does not know, search for it in the XBPS repositories and suggest that the user install it.
xbps-command-not-found is known to work
with bash, zsh, fish, and nushell.
xbps-command-not-found is automatically
configured for all interactive sessions via
/etc/bash/bashrc.d/xbps-command-not-found.sh.
xbps-command-not-found can be enabled for
all interactive sessions by adding:
source /usr/share/zsh/plugins/xbps-command-not-found/xbps-command-not-found.zsh
to /etc/zsh/zshrc (all users) or ~/.zshrc (one user).
xbps-command-not-found can be enabled for
all interactive sessions by adding:
source /usr/share/fish/vendor_functions.d/xbps-command-not-found.fish
to $XDG_CONFIG_HOME/fish/config.fish.
xbps-command-not-found can be enabled for
all interactive sessions by adding:
$env.config.hooks.command_not_found = {
|cmd_name| (
try {
if $env.XBPS_COMMAND_NOT_FOUND_DISABLE? == null {
/usr/libexec/xbps-command-not-found $cmd_name
}
}
)
}
to $XDG_CONFIG_HOME/nushell/config.nu.
If
XBPS_COMMAND_NOT_FOUND_DISABLE
is set to any value, xbps-command-not-found will be
disabled.
classabbyamp <dev@placeviolette.net>
xbps-command-not-found is in the public
domain.
To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.
Report bugs at https://codeberg.org/classabbyamp/xbps-command-not-found/issues
| January 19, 2026 | x86_64 |