summary refs log tree commit diff stats
path: root/user/modules
diff options
context:
space:
mode:
authorAlan Pearce2019-10-08 11:32:31 +0200
committerAlan Pearce2019-10-08 11:32:31 +0200
commit8dc03df48032ced8f753aff93b9619d506ffa184 (patch)
tree3e76568d73a43fb49eadbd0044252bbb0a7d7650 /user/modules
parentbbacef252e8742bfc132fd5a9e70529dd142a6ad (diff)
downloadnixfiles-8dc03df48032ced8f753aff93b9619d506ffa184.tar.lz
nixfiles-8dc03df48032ced8f753aff93b9619d506ffa184.tar.zst
nixfiles-8dc03df48032ced8f753aff93b9619d506ffa184.zip
zsh: add aliases for git reset
Diffstat (limited to 'user/modules')
-rw-r--r--user/modules/zsh.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/user/modules/zsh.nix b/user/modules/zsh.nix
index cdffba41..dd4792a5 100644
--- a/user/modules/zsh.nix
+++ b/user/modules/zsh.nix
@@ -104,6 +104,8 @@ in
       gdt = "git difftool";
       grl = "git reflog";
       gri = "git rebase --interactive";
+      grs = "git reset";
+      grsh = "git reset --hard";
       gsh = "git show";
       gsm = "git submodule";
       gci = "git commit";