This commit is contained in:
Bryan Ramos 2023-06-03 08:45:07 -04:00
parent 656c6afd6d
commit a96b8ceb70

View file

@ -176,21 +176,20 @@ function ldv() {
case $choice in
1)
cp ~/Documents/projects/lazydev/flakes/web/flake.nix .
wget -q https://raw.githubusercontent.com/itme-brain/lazydev/main/flakes/web/flake.nix
echo "use flake" >> .envrc && direnv allow
;;
2)
cp ~/Documents/projects/lazydev/flakes/elixir/flake.nix .
wget -q https://raw.githubusercontent.com/itme-brain/lazydev/main/flakes/elixir/flake.nix
echo "use flake" >> .envrc && direnv allow
;;
3)
cp ~/Documents/projects/lazydev/flakes/haskell/flake.nix .
wget -q https://raw.githubusercontent.com/itme-brain/lazydev/main/flakes/haskell/flake.nix
echo "use flake" >> .envrc && direnv allow
;;
# Add more cases here...
*)
echo "Invalid choice"
echo "Invalid choice."
;;
esac
elif [[ -z $1 ]]; then
@ -214,7 +213,7 @@ function ldv() {
;;
# Add more cases here...
*)
echo "Invalid choice"
echo "Invalid choice."
;;
esac
else