mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-12 15:42:39 +02:00
feat: update shell sessin
This commit is contained in:
@@ -52,13 +52,13 @@ gc:
|
|||||||
[linux]
|
[linux]
|
||||||
[group('nix')]
|
[group('nix')]
|
||||||
shell:
|
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
|
# Enter a shell session which has all the necessary tools for this flake
|
||||||
[macos]
|
[macos]
|
||||||
[group('nix')]
|
[group('nix')]
|
||||||
shell:
|
shell:
|
||||||
nix shell nixpkgs#just nixpkgs#nushell
|
nix shell nixpkgs#git nixpkgs#neovim nixpkgs#just nixpkgs#nushell
|
||||||
|
|
||||||
[group('nix')]
|
[group('nix')]
|
||||||
fmt:
|
fmt:
|
||||||
@@ -442,10 +442,15 @@ penvof pid:
|
|||||||
|
|
||||||
# Remove all reflog entries and prune unreachable objects
|
# Remove all reflog entries and prune unreachable objects
|
||||||
[group('git')]
|
[group('git')]
|
||||||
gitgc:
|
ggc:
|
||||||
git reflog expire --expire-unreachable=now --all
|
git reflog expire --expire-unreachable=now --all
|
||||||
git gc --prune=now
|
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
|
# Delete all failed pods
|
||||||
[group('k8s')]
|
[group('k8s')]
|
||||||
del-failed:
|
del-failed:
|
||||||
|
|||||||
Reference in New Issue
Block a user