colored delta & gitignore

This commit is contained in:
traxys 2021-12-15 10:23:34 +01:00
parent 3fa5dc77da
commit 0e48b9697d
2 changed files with 20 additions and 3 deletions

2
gitignore Normal file
View file

@ -0,0 +1,2 @@
.cache
compile_commands.json

View file

@ -106,11 +106,25 @@ in
git = {
enable = true;
delta = {
enable = true;
};
userName = "Quentin Boyer";
userEmail = localinfo.email;
delta = {
enable = true;
options = {
line-numbers = true;
syntax-theme = "Dracula";
plus-style = "auto \"#121bce\"";
plus-emph-style = "auto \"#6083eb\"";
};
};
extraConfig = {
diff = {
algorithm = "histogram";
};
core = {
excludesfile = "${localinfo.homeDir}/.gitignore";
};
};
};
zoxide = {
@ -174,6 +188,7 @@ in
};
".zprofile".source = ./zprofile;
".p10k.zsh".source = ./p10k.zsh;
".gitignore".source = ./gitignore;
"bin" = {
source = ./scripts;
recursive = true;