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, enabled, ... }:
|
||||||
|
|
||||||
homeConfiguration "nixos" {
|
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 {
|
programs.git = enabled {
|
||||||
userName = "RGBCube";
|
userName = "RGBCube";
|
||||||
userEmail = "RGBCube@users.noreply.github.com";
|
userEmail = "RGBCube@users.noreply.github.com";
|
||||||
|
|
|
@ -19,17 +19,6 @@
|
||||||
envFile.source = ./environment.nu;
|
envFile.source = ./environment.nu;
|
||||||
|
|
||||||
shellAliases = {
|
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";
|
la = "ls -a";
|
||||||
sl = "ls";
|
sl = "ls";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue