add nr alias and prevent bash usage on basic level

This commit is contained in:
Schrottkatze 2024-04-16 21:36:43 +02:00
parent 33732a192b
commit 5c2deec279
No known key found for this signature in database

View file

@ -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!";