Skip to content

Instantly share code, notes, and snippets.

@wardedcoffee
wardedcoffee / fish-setup.sh
Created April 4, 2026 11:07
Set fish as default shell and sync .bashrc config to config.fish
#!/usr/bin/env bash
# fish-setup.sh — Install fish, set as default shell, and sync bashrc config
# Usage: bash fish-setup.sh
set -e
FISH_BIN=$(which fish 2>/dev/null || echo "")
# Install fish if not present
if [ -z "$FISH_BIN" ]; then