mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-21 21:04:41 +01:00
add nr alias and prevent bash usage on basic level
This commit is contained in:
parent
33732a192b
commit
5c2deec279
|
@ -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!";
|
||||
|
|
Loading…
Reference in a new issue