✨ 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 {
|
home.sessionVariables = lib.mkIf config.home.preferXdgDirectories {
|
||||||
interactiveShellInit = ''
|
BATDIFF_USE_DELTA = true;
|
||||||
set -gx BATDIFF_USE_DELTA true
|
};
|
||||||
'';
|
|
||||||
|
|
||||||
|
programs.fish = lib.mkIf config.programs.fish.enable {
|
||||||
functions = {
|
functions = {
|
||||||
cat = {
|
cat = {
|
||||||
wraps = "bat";
|
wraps = "bat";
|
||||||
|
|
Loading…
Reference in a new issue