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:
parent
5d589a0f58
commit
00ea390425
3 changed files with 7 additions and 0 deletions
|
@ -12,6 +12,8 @@
|
|||
envFile.source = ./environment.nu;
|
||||
|
||||
shellAliases = {
|
||||
cdtmp = "cd (mktemp --directory)";
|
||||
|
||||
la = "ls --all";
|
||||
ll = "ls --long";
|
||||
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] {
|
||||
kitty @ set-spacing padding=0
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
fd
|
||||
gotop
|
||||
hyperfine
|
||||
nix-index
|
||||
nix-output-monitor
|
||||
pstree
|
||||
ripgrep
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue