leaveret/fedora-fish-config

★ 0Forks 0ShellGitHub ↗Compare

README

Fedora Fish Config

A port of CachyOS's Fish configuration tailored for Fedora Linux. Installed entirely inside ~/.config/fish/conf.d/ with zero system directory modifications.

Features

  • Modern CLI replacements: eza for ls, bat for colorized man pages, fastfetch greeting.
  • Desktop notifications: Alerts via libnotify when long-running commands ($\ge$ 10s) finish.
  • Bash-style history expansions: Full support for !! and !$.
  • Fedora/DNF aliases: Native package management shortcuts (update, cleanup, big, rip).
  • Pure Prompt: CachyOS's signature minimal prompt (pure-fish/pure).

Quick Install

git clone https://github.com/MugoSquero/fedora-fish-config.git
cd fedora-fish-config
chmod +x install.sh
./install.sh

Manual Install

1. Install Dependencies

sudo dnf install -y fish fastfetch eza bat hwinfo libnotify wget tar nmap-ncat util-linux-user fira-code-fonts

2. Copy Config Files

mkdir -p ~/.config/fish/conf.d
cp conf.d/*.fish ~/.config/fish/conf.d/

3. Install Pure Prompt

fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher && fisher install pure-fish/pure"

4. Set Fish as Default Shell

chsh -s $(which fish)

Useful Aliases

Alias Command Description
update sudo dnf upgrade --refresh Refresh repos & upgrade system
cleanup sudo dnf autoremove Remove orphaned packages
fixdnf sudo rm -f /var/lib/rpm/.rpm.lock /var/lib/dnf/*.lock Clear package manager locks
big rpm -qa ... Top 50 largest installed packages
rip rpm -qa ... 200 most recently installed packages
grubup sudo grub2-mkconfig -o /etc/grub2.cfg Rebuild GRUB config
hw hwinfo --short Quick hardware summary
jctl journalctl -p 3 -xb Priority 3 (error) logs from current boot
tb nc termbin.com 9999 Paste terminal output to Termbin

Contributors

ptr1337NextWork123vnepogodinAarrayyTheWyntachyglossuesDoaxanCAESIUS-TIM1NaimFekoleaveretDekoDXLyapsus

Issues