26 lines
1.1 KiB
Bash
Executable file
Vendored
26 lines
1.1 KiB
Bash
Executable file
Vendored
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
if grep /etc/os-release -e ID=fedora -q; then
|
|
sudo dnf copr enable pgdev/ghostty -y
|
|
sudo dnf install -y emacs ag guile30 guile30-devel chicken gcc ghostty fastfetch nautilus-python
|
|
|
|
sudo ln -svf "$(command -v guile3.0)" /usr/local/bin/guile
|
|
sudo ln -svf "$(command -v guild3.0)" /usr/local/bin/guild
|
|
sudo ln -svf "$(command -v guile-config3.0)" /usr/local/bin/guile-config
|
|
sudo ln -svf "$(command -v guile-tools3.0)" /usr/local/bin/guile-tools
|
|
sudo ln -svf "$(command -v guile-snarf3.0)" /usr/local/bin/guile-snarf
|
|
elif grep /etc/os-release -e ID=ubuntu -q; then
|
|
sudo apt update
|
|
sudo apt install -y guile-3.0 guile-3.0-dev gcc chicken-bin silversearcher-ag fastfetch python3-nautilus curl
|
|
sudo snap install --classic ghostty
|
|
sudo snap install --classic emacs
|
|
else
|
|
echo "This script currently only supports Fedora and Ubuntu"
|
|
fi
|
|
|
|
cd `csi -R chicken.platform -p '(chicken-home)'`
|
|
curl https://3e8.org/pub/chicken-doc/chicken-doc-repo-5.tgz | sudo tar zx
|
|
chicken-install -s json-rpc r7rs apropos chicken-doc srfi-18 lsp-server
|
|
|