DEV Community

Cover image for Posh2K - A universal prompt for power users πŸ’ͺ🌈

Posh2K - A universal prompt for power users πŸ’ͺ🌈

Abhishek Keshri on December 04, 2022

What is this Posh2K is a prompt for oh-my-posh, it works on all shells, has multiple segments with aesthetically pleasing colors. ...
Collapse
 
wjplatformer profile image
Wj

Honestly, after using this for quite a while, this is REALLY AWESOME. Because sometimes when the branch is master or main, I can just glance up to the terminal to see which branch I have to commit to, making this extremely useful. Thanks!

Collapse
 
2kabhishek profile image
Abhishek Keshri

yup, you also get indicators for language versions, env settings and even much more if you customize custom sections, sky is the limit!

Collapse
 
wjplatformer profile image
Wj

Image description

I assume you don't run this. But where do you add this thing? πŸ˜πŸ˜ŠπŸ˜…πŸ˜Άβ€πŸŒ«οΈ

Collapse
 
wjplatformer profile image
Wj

I am using cmd, installed clink, installed oh-my-posh, but have no idea where to add this line of code

Collapse
 
2kabhishek profile image
Abhishek Keshri

You are right, I don't use cmd/clink but it should have options to write configs in lua

Thread Thread
 
wjplatformer profile image
Wj

AH I THINK I GOT IT

Thread Thread
 
wjplatformer profile image
Wj

oh no actually windows 11 can't really change anuthing to settings 😱 lmao I think I'm going to die wait a sec need to do more digging

Thread Thread
 
wjplatformer profile image
Wj
the code below is incomprehensible to my knowledge

Image description
erm... ok one question for you, where did you actually get the line of code for clink and cmd? To add it? (in which case, I am saying, if you have any documentation maybee it's better to link it on the readme hehehehudhfedhe ok sorry I'll do more digging)

Thread Thread
 
wjplatformer profile image
Wj

ohmyposh.dev/docs/installation/prompt ah I see, I guess I am dumb as heck to not read the official docimentation after all

Thread Thread
 
2kabhishek profile image
Abhishek Keshri

No worries, glad you figured it out

Thread Thread
 
2kabhishek profile image
Abhishek Keshri

Also I'd suggest not to use CMD unless you really have to, Powershell is much better comparatively

Thread Thread
 
wjplatformer profile image
Wj

agreed. But my main terminal at the time was cmd, but switching over wasn't that bad lol.

Collapse
 
wjplatformer profile image
Wj

Hey, may I know how do you connect your spotify?

Collapse
 
2kabhishek profile image
Abhishek Keshri

Sadly I have only been able to make it work on windows.
Just by using the Spotify app.

Collapse
 
wjplatformer profile image
Wj

so you have a windows computer and a macos pc? I think that explains it. Thanks!

Collapse
 
wjplatformer profile image
Wj

OOOOhhh fancy πŸ₯‚

Collapse
 
2kabhishek profile image
Abhishek Keshri

Thanks man! I hope you tried it