This repository contains my personal Fish shell prompt configuration using Oh My Posh.
- Powerline-style segments
- Arch Linux icon
- Execution time and status
- Modern, clean look
Run the following command to install Oh My Posh, JetBrainsMono Nerd Font, and configure your fish shell:
curl -s https://raw.githubusercontent.com/DevXtechnic/fish-prompt/main/install.sh | bashAlternatively, you can clone this repository and run the install.sh script:
git clone https://github.com/DevXtechnic/fish-prompt.git ~/Project/fish-prompt
cd ~/Project/fish-prompt
./install.sh- Install Oh My Posh.
- Install a Nerd Font (e.g., JetBrainsMono Nerd Font).
- Copy
full.omp.jsonto~/.config/oh-my-posh/full.omp.json. - Add the following to your
~/.config/fish/config.fish:if status is-interactive oh-my-posh init fish --config ~/.config/oh-my-posh/full.omp.json | source end
This project is released under the Unlicense.
