15 lines
306 B
Plaintext
Executable file
15 lines
306 B
Plaintext
Executable file
#!/usr/bin/env nu
|
|
|
|
def main [script: string] {
|
|
cd /home/chris/dev
|
|
mkdir $script
|
|
cd $script
|
|
git init
|
|
nix flake init --template templates#rust
|
|
direnv allow
|
|
echo "Try running this next:
|
|
cargo init
|
|
cargo add clap --features=derive"
|
|
emacsclient /home/chris/dev/$script
|
|
}
|