1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Move git aliases to git/

This commit is contained in:
RGBCube 2023-05-12 23:23:00 +03:00
parent f1f8f66140
commit 90faaf6b28
2 changed files with 13 additions and 11 deletions

View file

@ -1,6 +1,19 @@
{ homeConfiguration, enabled, ... }:
homeConfiguration "nixos" {
programs.nushell.shellAliases = {
g = "git";
ga = "git add ./";
gb = "git rebase -i";
gc = "git commit -m";
gca = "git commit --amend";
gcl = "git clone";
gd = "git diff";
gds = "git diff --staged";
gp = "git push";
gs = "git status";
};
programs.git = enabled {
userName = "RGBCube";
userEmail = "RGBCube@users.noreply.github.com";

View file

@ -19,17 +19,6 @@
envFile.source = ./environment.nu;
shellAliases = {
g = "git";
ga = "git add ./";
gb = "git rebase -i";
gc = "git commit -m";
gca = "git commit --amend";
gcl = "git clone";
gd = "git diff";
gds = "git diff --staged";
gp = "git push";
gs = "git status";
la = "ls -a";
sl = "ls";