Make program integrations conditional on shell
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
shell,
|
||||
...
|
||||
}: {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
package = pkgs.kitty;
|
||||
shellIntegration.enableFishIntegration = true;
|
||||
shellIntegration.enableFishIntegration =
|
||||
if shell == "fish"
|
||||
then true
|
||||
else false;
|
||||
};
|
||||
|
||||
imports = [
|
||||
|
||||
Reference in New Issue
Block a user