feat(bat): Seperate fish & env vars

This commit is contained in:
punkfairie 2024-10-30 20:09:08 -07:00
parent 1b9ac0615f
commit 90d264cc44
Signed by: punkfairie
GPG key ID: 01823C057725C266

View file

@ -19,11 +19,11 @@
};
};
programs.fish = lib.mkIf config.programs.fish.enable {
interactiveShellInit = ''
set -gx BATDIFF_USE_DELTA true
'';
home.sessionVariables = lib.mkIf config.home.preferXdgDirectories {
BATDIFF_USE_DELTA = true;
};
programs.fish = lib.mkIf config.programs.fish.enable {
functions = {
cat = {
wraps = "bat";