JanDeDobbeleer / oh-my-posh

The most customisable and low-latency cross platform/shell prompt renderer
https://ohmyposh.dev
MIT License
17.4k stars 2.38k forks source link

Error in Readme, wrong file pointing #1637

Closed 1499360414 closed 2 years ago

1499360414 commented 2 years ago

Code of Conduct

What happened?

A bug happened! In the Install->Linux "Download them" manual, it says we will store the json files in ~/.poshthemes/, but in the edit below, "$ PROFILE" points to the "*~/.json" folder. The ".poshthemes**" folder is missing here. This error also appears on this page under "Override theme settings".

image

image

Here you should use oh-my-posh --init --shell pwsh --config ~/.poshthemes /jandedobbeleer.mp.json | Invoke-Expression

I know it's not a big bug, but since Oh My Posh's readme is so comprehensive, I think most users will copy and paste the code like I did and then have problems finding the folder

Theme

The error in readme.

What OS are you seeing the problem on?

Linux

Which shell are you using?

zsh, bash, fish, powershell, other (please specify)

Log output

Oh My Posh Error:
 stat /home/vagrant/amro.omp.json: no such file or directory
JanDeDobbeleer commented 2 years ago

@1499360414 if you read the paragraph right below Replace your existing prompt, you'll find what you're looking for 😉

github-actions[bot] commented 8 months ago

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.