mirror of
https://github.com/andwati/dotfiles.git
synced 2026-11-23 19:48:47 +00:00
feat(install): install dependencies with dnf for Fedora
This commit is contained in:
@@ -28,5 +28,5 @@ constantly, and uses `pinentry-qt` for a native dialog instead of a
|
|||||||
terminal prompt.
|
terminal prompt.
|
||||||
|
|
||||||
Not installed by the script — grab these separately if a fresh machine needs
|
Not installed by the script — grab these separately if a fresh machine needs
|
||||||
them: `nvm`, `pyenv`, `bun`, `pnpm`, `deno`, `rustup`, `docker`, `fzf`,
|
them: `nvm`, `pyenv`, `bun`, `pnpm`, `deno`, `rustup`, `docker`, `ghostty`,
|
||||||
`zoxide`, and a Nerd Font (JetBrains Mono Nerd Font) set as your terminal font.
|
`lazygit`, and a Nerd Font (JetBrains Mono Nerd Font) set as your terminal font.
|
||||||
|
|||||||
+6
-6
@@ -8,10 +8,10 @@ set -euo pipefail
|
|||||||
DOTFILES_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
DOTFILES_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
ZSH_CUSTOM="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}"
|
ZSH_CUSTOM="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}"
|
||||||
|
|
||||||
command -v stow >/dev/null || {
|
# Fedora packages the dotfiles rely on (dnf skips ones already installed).
|
||||||
echo "GNU Stow is required: sudo dnf install stow" >&2
|
sudo dnf install -y \
|
||||||
exit 1
|
stow git curl zsh gnupg2 pinentry-qt \
|
||||||
}
|
neovim ripgrep fd-find fzf zoxide wl-clipboard gcc make
|
||||||
|
|
||||||
clone_if_missing() {
|
clone_if_missing() {
|
||||||
local url="$1" dst="$2"
|
local url="$1" dst="$2"
|
||||||
@@ -65,8 +65,8 @@ gpgconf --kill gpg-agent 2>/dev/null || true
|
|||||||
cat <<'EOF'
|
cat <<'EOF'
|
||||||
|
|
||||||
Done. This does NOT install (grab these separately if missing):
|
Done. This does NOT install (grab these separately if missing):
|
||||||
- nvm, pyenv, bun, pnpm, deno, rustup, docker, fzf, zoxide
|
- nvm, pyenv, bun, pnpm, deno, rustup, docker
|
||||||
- ghostty, neovim (+ fd, lazygit, tree-sitter-cli, wl-clipboard), VS Code
|
- ghostty, lazygit, tree-sitter-cli, VS Code (not in Fedora's default repos)
|
||||||
- a Nerd Font (JetBrains Mono Nerd Font) — set it as your terminal's font
|
- a Nerd Font (JetBrains Mono Nerd Font) — set it as your terminal's font
|
||||||
|
|
||||||
Start a new shell to pick everything up: exec zsh
|
Start a new shell to pick everything up: exec zsh
|
||||||
|
|||||||
Reference in New Issue
Block a user