diff options
Diffstat (limited to 'users/grfn/system')
-rw-r--r-- | users/grfn/system/home/modules/development.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/users/grfn/system/home/modules/development.nix b/users/grfn/system/home/modules/development.nix index d60e6ba60759..f6ae2640aa98 100644 --- a/users/grfn/system/home/modules/development.nix +++ b/users/grfn/system/home/modules/development.nix @@ -210,6 +210,10 @@ with lib; gdelmerged = '' git branch --merged | egrep -v 'master' | tr -d '+ ' | xargs git branch -d ''; + + gref = '' + git show -s --pretty=reference "$1" | xclip -selection clipboard + ''; }; }; } |