Install Ghostty and Fish on EndeavourOS

sudo pacman -Syu ghostty fish

Set Fish as Your Default Shell

chsh -s $(which fish)

Configure Ghostty to Launch Fish Natively

mkdir -p ~/.config/ghostty
touch ~/.config/ghostty/config
nano ~/.config/ghostty/config
# --- Shell Execution ---
command = /usr/bin/fish

window-inherit-working-directory = false

# --- Visual Tuning (Optional Suggestions) ---
font-family = "JetBrainsMono Nerd Font"
font-size = 11
theme = dark:tomorrow-night,light:tomorrow-day
window-padding-x = 10
window-padding-y = 10
nano ~/.config/fish/config.fish

Add this snippet to the top of the file to force Ghostty’s terminal environment mapping:

if set -q GHOSTTY_RESOURCES_DIR
    source "$GHOSTTY_RESOURCES_DIR/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish"
end

First-Time Fish Setup

fish_config