mirror of https://github.com/wlcx/home.git
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…
Reference in New Issue