[NixOS] Add ns function for incrementally searching through nixpkgs

This commit is contained in:
2024-08-04 22:21:13 -06:00
parent ddb4a257cf
commit b8f2452d11
2 changed files with 12 additions and 3 deletions

7
dotfiles/lib/functions/ns Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env sh
function nr {
sk --ansi -i -c 'nix-search "{}"' | get_cols 1
}
nr "$@"