From 49cf0fc0e34b09f6d14c4d921b8513af54c889f2 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Fri, 14 Jun 2024 21:18:42 +0200 Subject: [PATCH] Update --- README.md | 4 ++++ home/system/shell/zsh.nix | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/README.md b/README.md index ef0d536..abae2ce 100644 --- a/README.md +++ b/README.md @@ -207,3 +207,7 @@ git clone https://github.com/anotherhadi/nixy ~/.config/nixos ```sh sudo nixos-rebuild switch --flake ~/.config/nixos#nixy ``` + +## Contribute + +Feel free to contribute to this project by opening an issue or a pull request. diff --git a/home/system/shell/zsh.nix b/home/system/shell/zsh.nix index 4b72ebb..c4d06ca 100644 --- a/home/system/shell/zsh.nix +++ b/home/system/shell/zsh.nix @@ -46,6 +46,19 @@ icat = "${pkgs.kitty}/bin/kitty +kitten icat"; note = "vim ~/Nextcloud/obsidian"; obs = "vim ~/Nextcloud/obsidian"; + + # git + ga = "git add"; + gc = "git commit"; + gcm = "git commit -m"; + gcu = "git commit -m 'Update'"; + gp = "git push"; + gpl = "git pull"; + gs = "git status"; + gd = "git diff"; + gco = "git checkout"; + gcb = "git checkout -b"; + gbr = "git branch"; }; }; }