mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-12-22 09:35:50 +01:00
add nr alias and prevent bash usage on basic level
This commit is contained in:
parent
33732a192b
commit
5c2deec279
1 changed files with 8 additions and 0 deletions
|
@ -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