add shell alias

This commit is contained in:
Frost-Phoenix 2023-11-05 21:47:04 +01:00
parent 6f8782ca41
commit f5243bb25c
3 changed files with 39 additions and 8 deletions

View file

@ -10,6 +10,27 @@
init.defaultBranch = "main";
credential.helper = "store";
};
environment.shellAliases = {
# Git aliases
ga = "git add";
gaa = "git add --all";
gs = "git status";
gb = "git branch";
gm = "git merge";
gpl = "git pull";
gplo = "git pull origin";
gps = "git push";
gpso = "git push origin";
gc = "git commit";
gcm = "git commit -m";
gch = "git checkout";
gchb = "git checkout -b";
gcoe = "git config user.email";
gcon = "git config user.name";
g = "lazygit";
};
};
home.packages = [ pkgs.gh ];