This commit is contained in:
jdonszelmann 2024-07-06 18:13:05 +02:00
parent 527048be0c
commit fec4590455
No known key found for this signature in database
GPG key ID: E0C1EA36407B2FF2
2 changed files with 7 additions and 1 deletions

View file

@ -28,7 +28,7 @@
overlays = [
(final: prev: {
custom = {
inherit t;
t = t.packages.${system}.default;
};
})
];

View file

@ -67,6 +67,12 @@ in
t $@
}
function rs() {
cd "$(${pkgs.custom.t}/bin/t-rs $@ | tail -n 1)"
cargo init . --bin --name $(basename "$PWD")
vim .
}
# path
path() {
export PATH="$1:$PATH"