Skip to content

dingsoyr/oh-my-posh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Documentation

Have a look at https://ohmyposh.dev/docs/installation/linux

Automatic installation

curl -s https://raw.githubusercontent.com/dingsoyr/oh-my-posh/main/install.sh | bash -s

Manual installation

Install

To install Oh My Posh and put themes in spesified directory:

curl -s https://ohmyposh.dev/install.sh | bash -s -- -t /home/difi/.cache/oh-my-posh
chown -R difi:difi .cache/oh-my-posh/

Add nerd-font hack:

sudo su
cd /home/difi
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/Hack.zip
mkdir /usr/local/share/fonts/Hack
unzip Hack.zip -d /usr/local/share/fonts/Hack/
apt install fontconfig
fc-cache -fv
rm -rf /home/difi/Hack.zip

Add to prompt by adding to .bashrc

export PATH=$PATH:/home/difi/.local/bin
eval "$(oh-my-posh init bash --config https://raw.githubusercontent.com/dingsoyr/oh-my-posh/main/sture.omp.json)"

About

Custom theme for Oh My Posh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages