This repository contains my personalized configuration for Zsh with Zinit and Oh My Posh.
For detailed documentation on configuring Oh My Posh, visit: Oh My Posh Documentation
For detailed documentation on configuring Zinit, visit: Zinit Documentation
To install Oh My Posh, run the following command:
curl -s https://ohmyposh.dev/install.sh | bash -s
To install Zinit, run the following command:
bash -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"
Update Zinit:
zinit self-update
Install Zsh on your Linux distribution (choose the appropriate command for your system):
Fedora:
sudo dnf install zsh
Debian/Ubuntu/WSL (Windows):
sudo apt install zsh
Fedora:
sudo dnf install zsh
Arch Linux (and derivatives):
sudo pacman -S zsh
openSUSE:
sudo zypper install zsh
macOS:
brew install zsh
Make Zsh your default shell by running:
chsh -s $(which zsh)
Clone this repository to your local machine:
git clone https://github.com/DaNnielRody/zen-toml.git ~/zen-toml
Create the configuration directory for Oh My Posh:
mkdir -p ~/.config/ohmyposh
Create a symbolic link from the repository configuration file to the Oh My Posh configuration directory:
ln -s ~/zen-toml/zen.toml ~/.config/ohmyposh/zen.toml
Copy the .zshrc configuration file from this repository to your home directory:
cp ~/zen-toml/.zshrc ~/
To apply the changes and start using Zsh with the new configuration, open a new terminal session or run:
zsh