mirror of
https://github.com/RGBCube/ncc
synced 2025-08-01 12:37:46 +00:00
Add more utility nushell functions
This commit is contained in:
parent
5d589a0f58
commit
00ea390425
3 changed files with 7 additions and 0 deletions
|
@ -12,6 +12,8 @@
|
||||||
envFile.source = ./environment.nu;
|
envFile.source = ./environment.nu;
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
|
cdtmp = "cd (mktemp --directory)";
|
||||||
|
|
||||||
la = "ls --all";
|
la = "ls --all";
|
||||||
ll = "ls --long";
|
ll = "ls --long";
|
||||||
lla = "ls --long --all";
|
lla = "ls --long --all";
|
||||||
|
|
|
@ -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] {
|
def hx [...arguments] {
|
||||||
kitty @ set-spacing padding=0
|
kitty @ set-spacing padding=0
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
fd
|
fd
|
||||||
gotop
|
gotop
|
||||||
hyperfine
|
hyperfine
|
||||||
|
nix-index
|
||||||
nix-output-monitor
|
nix-output-monitor
|
||||||
pstree
|
pstree
|
||||||
ripgrep
|
ripgrep
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue