Skip to content

Commit

Permalink
Install lazygit and add git shell aliases
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Hoekstra <[email protected]>
  • Loading branch information
shoekstra committed Sep 27, 2023
1 parent 8aa3c61 commit 44c52e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions nix/users/shoekstra/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ in {
programs.gpg.enable = true;
programs.htop.enable = true;
programs.k9s.enable = true;
programs.lazygit.enable = true;

# Packages without modules to configure them.
home.packages = with pkgs; [
Expand Down
2 changes: 2 additions & 0 deletions nix/users/shoekstra/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ in {
ll = "ls -l";

# Git aliases missing from plugin
gcopdm = "() { gco $1 && git pull origin $1 && (git branch --merged | grep -v '\*' | xargs -n 1 git branch -d) }";
gfo = "gf origin";
gpo = "git pull origin";
grom = "gr origin/master";
gsuk = "gsw"; # This just makes more sense to me
gwds = "gwd --staged";
Expand Down

0 comments on commit 44c52e5

Please sign in to comment.