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)" })
|
nix shell ...($programs | each {|it| $"nixpkgs#($it)" })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def nr [
|
||||||
|
program: string
|
||||||
|
] {
|
||||||
|
nix run $"nixpkgs#($program)"
|
||||||
|
}
|
||||||
|
|
||||||
def lcr [
|
def lcr [
|
||||||
file_extension: string
|
file_extension: string
|
||||||
] {
|
] {
|
||||||
|
@ -835,3 +841,5 @@ alias cch = cargo check;
|
||||||
|
|
||||||
alias togglecaps = xdotool key Caps_Lock;
|
alias togglecaps = xdotool key Caps_Lock;
|
||||||
alias TOGGLECAPS = togglecaps;
|
alias TOGGLECAPS = togglecaps;
|
||||||
|
|
||||||
|
alias bash = echo $"(ansi red)no, fuck that shit!";
|
||||||
|
|
Loading…
Reference in a new issue