Post

Fish + Atuin + Tide + Custom Prompts for Linux terminals

This is an updated, cleaner and easier to follow outline on how to install Fish, Atuin, Tide and set custom left and right prompts in the terminal. You still run Tide Configure to set up the Tide prompt initially.

Fish + Atuin + Tide + Custom Prompts for Linux terminals

NOTE: I set up all my machines to default to the Bash terminal and set up an alias f=”fish” so that when I ssh in I can hit f and be in the Fish shell. It seems to work better this way with scripting across many servers. Also, Ctrl-D drops you out of Fish back to Bash and one more Ctrl-D exits the ssh session.

NOTE: I have not fully tested this on CachyOS or any other Arch based system yet. In the process of doing CachyOS now and will update this article if needed.

Fish + Atuin + Tide Setup Commands

Copy/paste these commands in sequence for each server

Step 1: Install Fish

1
2
3
4
5
# Ubuntu/Debian/Mint/Proxmox
sudo apt update && sudo apt install -y fish curl

# CachyOS  
sudo pacman -S fish curl

Step 2: Add Bash Alias

1
2
echo 'alias f="fish"' >> ~/.bashrc
source ~/.bashrc

Step 3: Install Atuin

1
bash <(curl --proto '=https' --tlsv1.2 -sSf https://setup.atuin.sh)

Step 4: Switch to Fish and Install Everything

1
f

Step 5: Install Fisher (Fish Package Manager)

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

Step 6: Install Tide

1
fisher install IlanCosman/tide@v6

Step 7: Install Atuin Fish Integration

1
fisher install atuinsh/atuin

Step 8: Apply Your Clean Prompt Config

1
2
set -U tide_right_prompt_items context
set -U tide_left_prompt_items pwd git newline character

Step 9: Test the New Prompt

1
2
exit
f

Total time per server: ~90 seconds

Your prompt will show:

1
2
╭─ /current/directory ─────────── user@servername ─╮
╰─❯ 
This post is licensed under CC BY 4.0 by the author.