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:
parent
f1f8f66140
commit
90faaf6b28
2 changed files with 13 additions and 11 deletions
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue