Hi,
I was like you and had custimized my zsh prompt. It was fun to learn but not really practical (for me). So this is,why i switched to Starship.
These are my notes for my install where i did not use oh my zsh:
How to setup ZSH in Arch Linux
(1) Verify what shell is currently installed (default is bash).
$ echo $SHELL
(2) Install ZSH
sudo pacman -S zsh
(3) Install ZSH plugins
sudo pacman -S zsh-autosuggestions zsh-completions zsh-syntax-highlighting starship
yay -S nerd-fonts-jetbrains-mono
Note: Could substitute to package ‘nerd-fonts-hack’.
(4) Add the Nerd Font of your choice to your terminal (e.g Alacritty)
(a) Edit Alacritty configuration file and add your preferred Nerd Font.
sudo nano .config/alacritty/alacritty.yml
(b) Update the preferred font
Font configuration
font:
normal:
family: JetBrainsMono Nerd Font
style: Regular
bold:
family: JetBrainsMono Nerd Font
style: bold
Italic font face
italic:
family: JetBrainsMono Nerd Font
style: italic
(5) Configure ZSH basic User Configuration:
From terminal run ‘zsh’ which will start the wizard.
(6) Change the Current User to use ZSH Shell
–Must Log out and back in to get the change
chsh -s /usr/bin/zsh
(7) Setup ZSH Plugins and Starship Prompt
(a) Edit the .zshrc file
sudo nano ~/.zshrc
(b) Use the following .zshrc content in your configuration file:
Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
#Path to Functions and Plugins
export ZSH=“/usr/share/zsh”
fpath=($ZSH/functions $ZSH/site-functions $fpath)
#Source ZSH Plugins
source $ZSH/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source $ZSH/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
End of lines configured by zsh-newuser-install
The following lines were added by compinstall
zstyle :compinstall filename ‘/home/rsruser/.zshrc’
autoload -Uz compinit; compinit
End of lines added by compinstall
This will set Starship as default prompt theme
eval “$(starship init zsh)”
(b) Enable starship on the BASH shell
(b1) Edit the ~/.bashrc fiel
sudo nano ~/.bashrc
(b2) Add the following line at the end of the file:
eval “$(starship init bash)”
Source:
https://wiki.archlinux.org/title/Zsh
Plug-ins: