add zsh
This commit is contained in:
parent
527048be0c
commit
fec4590455
2 changed files with 7 additions and 1 deletions
|
|
@ -28,7 +28,7 @@
|
|||
overlays = [
|
||||
(final: prev: {
|
||||
custom = {
|
||||
inherit t;
|
||||
t = t.packages.${system}.default;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue