mirror of
https://github.com/wlcx/home.git
synced 2025-10-11 22:43:44 +01:00
Fix gitincludes, add work specific include
This commit is contained in:
parent
8bbc2c94c6
commit
2ec8cfe6d7
@ -44,6 +44,7 @@ in {
|
|||||||
git_branch.format = "[$symbol$branch]($style) ";
|
git_branch.format = "[$symbol$branch]($style) ";
|
||||||
python.format = "[py \${pyenv_prefix}(\${version} )(\\($virtualenv\\) )]($style)";
|
python.format = "[py \${pyenv_prefix}(\${version} )(\\($virtualenv\\) )]($style)";
|
||||||
nodejs.format = "[js ($version )]($style)";
|
nodejs.format = "[js ($version )]($style)";
|
||||||
|
nix_shell.format = "[nix $state( \\($name\\))]($style) ";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -35,7 +35,10 @@
|
|||||||
branch.sort = "-committerdate";
|
branch.sort = "-committerdate";
|
||||||
log.showSignature = true;
|
log.showSignature = true;
|
||||||
push.default = "current";
|
push.default = "current";
|
||||||
include.path = "~/.gitconfig.local";
|
|
||||||
};
|
};
|
||||||
|
includes = [
|
||||||
|
{ path = "~/.gitconfig.local"; }
|
||||||
|
{ path = "~/.gitconfig.work"; condition = "gitdir:~/work/"; }
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user