refactor struct
This commit is contained in:
2
install-scripts/ghostty-fedora.sh
Executable file
2
install-scripts/ghostty-fedora.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
sudo dnf copr enable scottames/ghostty
|
||||
sudo dnf install ghostty
|
||||
1
install-scripts/ghostty-ubuntu.sh
Executable file
1
install-scripts/ghostty-ubuntu.sh
Executable file
@@ -0,0 +1 @@
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/mkasberg/ghostty-ubuntu/HEAD/install.sh)"
|
||||
21
install-scripts/nvim-latest.sh
Executable file
21
install-scripts/nvim-latest.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
archive="nvim-linux-x86_64.tar.gz"
|
||||
|
||||
cleanup() {
|
||||
rm -f "$archive"
|
||||
}
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
curl -Lo "$archive" https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz
|
||||
sudo rm -rf /opt/nvim-linux-x86_64
|
||||
sudo tar -C /opt -xzf "$archive"
|
||||
|
||||
cat <<'EOF'
|
||||
Add this to your shell config (~/.bashrc, ~/.zshrc, ...):
|
||||
|
||||
export PATH="$PATH:/opt/nvim-linux-x86_64/bin"
|
||||
EOF
|
||||
Reference in New Issue
Block a user