From 6c3ad06d2c6a368fb76e03733bc917652e78dbc6 Mon Sep 17 00:00:00 2001 From: Lukas Date: Sun, 15 Jun 2025 21:05:23 +0200 Subject: [PATCH] added better git shortcuts --- home/lukas/shell.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/home/lukas/shell.nix b/home/lukas/shell.nix index 541e508..e3673a8 100644 --- a/home/lukas/shell.nix +++ b/home/lukas/shell.nix @@ -25,13 +25,14 @@ ls = "eza --icons"; # plain directory listing ll = "eza --icons -alh --git"; # long list, all, human, git status la = "eza --icons -a"; # show all dot-files, short - lt = "eza -T --icons --git-ignore --level=2"; # pretty tree, two levels deep + lt = "eza -T --icons --git-ignore --level=4"; # pretty tree, two levels deep + + gs = "git status --short --branch"; + gl = "git log --oneline --graph --decorate"; cat ="bat --style=plain"; # pretty ‘cat’ less ="bat --style=plain --pager=less"; # pretty ‘less’ - diff = "delta --paging=always"; # quick standalone diff - update = "sudo nixos-rebuild switch --flake /etc/nixos/#segfault-machine"; };