diff --git a/other/config.nu b/other/config.nu index 4d36d1d..f6fe0c7 100644 --- a/other/config.nu +++ b/other/config.nu @@ -787,6 +787,12 @@ def nsp [ nix shell ...($programs | each {|it| $"nixpkgs#($it)" }) } +def nr [ + program: string +] { + nix run $"nixpkgs#($program)" +} + def lcr [ file_extension: string ] { @@ -835,3 +841,5 @@ alias cch = cargo check; alias togglecaps = xdotool key Caps_Lock; alias TOGGLECAPS = togglecaps; + +alias bash = echo $"(ansi red)no, fuck that shit!";