programs.pay-respects.enable
Whether to enable pay-respects.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.pay-respects.enableBashIntegration
Whether to enable Bash integration.
Type: boolean
Example:
false
Declared by:
programs.pay-respects.enableFishIntegration
Whether to enable Fish integration.
Type: boolean
Example:
false
Declared by:
programs.pay-respects.enableNushellIntegration
Whether to enable Nushell integration.
Type: boolean
Example:
false
Declared by:
programs.pay-respects.enableZshIntegration
Whether to enable Zsh integration.
Type: boolean
Example:
false
Declared by:
programs.pay-respects.package
The pay-respects package to use.
Type: package
Default:
pkgs.pay-respects
Declared by:
programs.pay-respects.options
List of options to pass to pay-respects <shell>.
Type: list of string
Default:
[
"--alias"
]
Example:
[
"--alias"
"f"
]
Declared by:
programs.pay-respects.rules
Runtime rule files written to
$XDG_CONFIG_HOME/pay-respects/rules/<name>.toml.
Attribute names map to filenames. For example, setting rules.cargo = { ... };
creates $XDG_CONFIG_HOME/pay-respects/rules/cargo.toml.
The filename must match the command name, except for _PR_GENERAL.
See https://github.com/iffse/pay-respects/blob/main/rules.md for runtime rule syntax and behavior.
Note that these rules are only applied when the runtime-rules module is
available to pay-respects.
Type: attribute set of (TOML value)
Default:
{ }
Example:
{
cargo = {
command = "cargo";
match_err = [
{
pattern = [ "run `cargo init` to initialize a new rust project" ];
suggest = [ "cargo init" ];
}
];
};
_PR_GENERAL = {
match_err = [
{
pattern = [ "permission denied" ];
suggest = [
"#[executable(sudo), !cmd_contains(sudo)]\nsudo {{command}}"
];
}
];
};
}
Declared by: