blob: 34361265eb468504f5150b4d88744214bc4e63bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# fzf shell integration is only provided for zsh. bash is scripting-only
# (not a login shell), so it does not receive fzf integration.
{ config, ... }:
let
cfg = config.terminal.fzf;
in
{
assertions = [
{
assertion = !cfg.enable || config.terminal.zsh.enable;
message = ''
terminal.fzf is enabled but terminal.zsh.enable is not set.
fzf shell integration requires zsh. Please enable zsh.
'';
}
];
}
|