Fix gitincludes, add work specific include

This commit is contained in:
Sam W 2022-01-14 16:19:05 +00:00
parent 8bbc2c94c6
commit 2ec8cfe6d7
2 changed files with 5 additions and 1 deletions

View File

@ -44,6 +44,7 @@ in {
git_branch.format = "[$symbol$branch]($style) ";
python.format = "[py \${pyenv_prefix}(\${version} )(\\($virtualenv\\) )]($style)";
nodejs.format = "[js ($version )]($style)";
nix_shell.format = "[nix $state( \\($name\\))]($style) ";
};
};

View File

@ -35,7 +35,10 @@
branch.sort = "-committerdate";
log.showSignature = true;
push.default = "current";
include.path = "~/.gitconfig.local";
};
includes = [
{ path = "~/.gitconfig.local"; }
{ path = "~/.gitconfig.work"; condition = "gitdir:~/work/"; }
];
};
}