use ohmyposh in bash - WSL 2 #923
thomasdoerr
started this conversation in
General
Replies: 2 comments 14 replies
|
@thomasdoerr thx, I added that context to the docs (will be there soon) |
11 replies
|
A difference I see is that you use oh-my-posh which is an exe in the bin folder and I’m using oh-my-posh-wsl which is if I understand correctly a Linux file.
On 9. Sep 2021, at 14:37, Hxx ***@***.***> wrote:
I put all the themes in the same folder /home/hsj(current user) with .zshrc file.
And all of them work well except the theme jandedobbeleer.
The content of my .zshrc is:
export ZSH="/home/hsj/.oh-my-zsh"
ZSH_THEME="agnoster"
eval "$(oh-my-posh --init --shell zsh --config ~/M365Princess.omp.json)"
Thanks for your replies.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#923 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABUZMBK3BWYJXJX6EX6DFNDUBCTBHANCNFSM5DFTGJHQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Good morning,
I just tried out to enable ohmyposh in my linux ubuntu bash, which is running in WSL2 under Windows 10.
This is not working on my machine:
eval "$(oh-my-posh --init --shell bash --config ~/jandedobbeleer.omp.json)"
The path is set correctly, but it must be:
eval "$(oh-my-posh-wsl --init --shell bash --config ~/jandedobbeleer.omp.json)"
The -wsl is missing.
Best
Thomas
All reactions