feat(installers): add fastfetch, drop dead neofetch
fastfetch is the maintained successor to neofetch (removed from Homebrew). macOS installs it in the main brew list; Linux installs it best-effort with a neofetch fallback for older distros. README tool list updated.
This commit is contained in:
@@ -26,8 +26,8 @@ safe — stow is idempotent.
|
||||
### Installing the tools
|
||||
|
||||
The configs assume a handful of CLI tools (`bat`, `fd`, `fzf`, `zoxide`,
|
||||
`zellij`, `nvim`, `btop`, `htop`, `tldr`, plus the `fzf-git.sh` helper). One
|
||||
host-aware installer covers them:
|
||||
`zellij`, `nvim`, `btop`, `htop`, `tldr`, `fastfetch`, plus the `fzf-git.sh`
|
||||
helper). One host-aware installer covers them:
|
||||
|
||||
```bash
|
||||
./lk-installers/install-apps # macOS -> Homebrew; Linux -> apt + upstream
|
||||
|
||||
@@ -37,11 +37,10 @@ install_macos() {
|
||||
brew install \
|
||||
zsh git curl wget stow \
|
||||
bat fd fzf zoxide \
|
||||
zellij neovim btop htop
|
||||
# tldr and neofetch are deprecated/disabled upstream — best-effort so a dead
|
||||
# formula can't abort the run. tlrc is the maintained `tldr` client.
|
||||
zellij neovim btop htop fastfetch
|
||||
# tldr is deprecated upstream — best-effort so a dead formula can't abort the
|
||||
# run. tlrc is the maintained `tldr` client.
|
||||
brew install tlrc || brew install tldr || echo "tldr unavailable — skipping"
|
||||
brew install neofetch || echo "neofetch unavailable — skipping"
|
||||
|
||||
# fzf key-bindings + completion -> ~/.fzf.zsh (sourced by .zshrc). These flags
|
||||
# make it non-interactive; --no-update-rc stops it editing .zshrc (the repo
|
||||
@@ -60,9 +59,11 @@ install_linux() {
|
||||
echo "Installing base packages via apt…"
|
||||
sudo apt update
|
||||
sudo apt install -y --no-install-recommends \
|
||||
neovim vim-nox btop htop neofetch curl wget tldr git zip unzip stow zsh cargo \
|
||||
neovim vim-nox btop htop curl wget tldr git zip unzip stow zsh cargo \
|
||||
zsh-autosuggestions zsh-syntax-highlighting
|
||||
sudo apt install -y --no-install-recommends rar unrar || true
|
||||
# fastfetch (modern neofetch); falls back to neofetch on older distros.
|
||||
sudo apt install -y fastfetch || sudo apt install -y neofetch || echo "fastfetch/neofetch unavailable — skipping"
|
||||
|
||||
# fzf (vendored under ~/.cache/lk-tools/fzf; .zshrc adds its bin to PATH)
|
||||
if [ ! -d "$HOME/.cache/lk-tools/fzf" ]; then
|
||||
|
||||
Reference in New Issue
Block a user