✨ feat(bat): Seperate fish & env vars
This commit is contained in:
parent
1b9ac0615f
commit
90d264cc44
1 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue