commit d0d91f76602d56feb31c26a34786662165b5f163
parent 6a4cc48115c0a2759be37f28ae2a8f948cdc9557
Author: benjamin paul <bpaul@bpaul.xyz>
Date: Thu, 1 Jul 2021 18:20:54 +1000
I misunderstood what git aliases are whoops
Diffstat:
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/home/modules/dev/git.nix b/home/modules/dev/git.nix
@@ -10,13 +10,6 @@ with lib;
config = mkIf config.git.enable {
programs.git = {
enable = true;
- aliases = {
- ga = "add";
- gc = "commit";
- gd = "diff";
- gp = "push";
- gs = "status";
- };
userEmail = "bpaul@bpaul.xyz";
userName = "Benjamin Paul";
diff --git a/home/modules/terminal/zsh.nix b/home/modules/terminal/zsh.nix
@@ -31,6 +31,11 @@ in
ls = "ls --color=auto";
l = "ls";
la = "ls -la";
+ ga = "git add";
+ gc = "git commit";
+ gd = "git diff";
+ gp = "git push";
+ gs = "git status";
grep = "grep --color=auto";
v = config.zsh.editor;
tmux = "tmux -2";