1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 19:47:47 +00:00

Add more utility nushell functions

This commit is contained in:
RGBCube 2023-11-22 10:31:03 +03:00
parent 5d589a0f58
commit 00ea390425
No known key found for this signature in database
3 changed files with 7 additions and 0 deletions

View file

@ -12,6 +12,8 @@
envFile.source = ./environment.nu;
shellAliases = {
cdtmp = "cd (mktemp --directory)";
la = "ls --all";
ll = "ls --long";
lla = "ls --long --all";

View file

@ -12,6 +12,10 @@ $env.ENV_CONVERSIONS.PATH = {
}
}
def nix-find [thing: string] {
nix-locate ("bin/" + $thing) | grep --invert-match "^\\(" | grep ($thing + "\\$")
}
def hx [...arguments] {
kitty @ set-spacing padding=0

View file

@ -5,6 +5,7 @@
fd
gotop
hyperfine
nix-index
nix-output-monitor
pstree
ripgrep