feat: update shell sessin

This commit is contained in:
Ryan Yin
2024-07-31 14:09:53 +08:00
parent 325f82b9cc
commit 64ab375d1f

View File

@@ -52,13 +52,13 @@ gc:
[linux]
[group('nix')]
shell:
nix shell nixpkgs#just nixpkgs#nushell nixpkgs#colmena
nix shell nixpkgs#git nixpkgs#neovim nixpkgs#just nixpkgs#nushell nixpkgs#colmena
# Enter a shell session which has all the necessary tools for this flake
[macos]
[group('nix')]
shell:
nix shell nixpkgs#just nixpkgs#nushell
nix shell nixpkgs#git nixpkgs#neovim nixpkgs#just nixpkgs#nushell
[group('nix')]
fmt:
@@ -442,10 +442,15 @@ penvof pid:
# Remove all reflog entries and prune unreachable objects
[group('git')]
gitgc:
ggc:
git reflog expire --expire-unreachable=now --all
git gc --prune=now
# Amend the last commit without changing the commit message
[group('git')]
game:
git commit --amend -a --no-edit
# Delete all failed pods
[group('k8s')]
del-failed: