Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/2kabhishek/posh2k
Universal prompt for Power users 💪🌈
https://github.com/2kabhishek/posh2k
cli eyecandy prompt shell terminal
Last synced: 5 days ago
JSON representation
Universal prompt for Power users 💪🌈
- Host: GitHub
- URL: https://github.com/2kabhishek/posh2k
- Owner: 2KAbhishek
- License: gpl-3.0
- Created: 2022-11-02T22:15:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-27T22:11:53.000Z (11 months ago)
- Last Synced: 2024-05-01T16:27:05.204Z (7 months ago)
- Topics: cli, eyecandy, prompt, shell, terminal
- Size: 89.8 KB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## What is this
posh2k is a prompt for [oh-my-posh](https://ohmyposh.dev/), it works on all shells, has multiple segments with aesthetically pleasing colors.
## Inspiration
Most of my workflow is based on the command line, recently I had to use a Windows system for some work and was really displeased by the CLI experience.
So, I needed a prompt that can work across shells and has support for different segments and posh2k was born.
## Prerequisites
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of [oh-my-posh](https://ohmyposh.dev/docs/installation/linux)
## Getting posh2k
To get posh2k, follow these steps:
```bash
git clone https://github.com/2kabhishek/posh2k# for Powershell, add this to $Profile
oh-my-posh init pwsh --config ~/PATH_TO_DIR/posh2k/posh2k.omp.json | Invoke-Expression# for Zsh, add this to ~/.zshrc
eval "$(oh-my-posh init zsh --config ~/PATH_TO_DIR/posh2k/posh2k.omp.json)"# for Bash, add this to ~/.bashrc
eval "$(oh-my-posh init bash --config ~/PATH_TO_DIR/posh2k/posh2k.omp.json)"# for Fish, add this to ~/config/fish/config.fish
oh-my-posh init fish --config ~/PATH_TO_DIR/posh2k/posh2k.omp.json | source# for nu shell, run
oh-my-posh init nu --config ~/PATH_TO_DIR/posh2k/posh2k.omp.json
source ~/oh-my-posh.nu# for cmd, install Clink, then add this
load(io.popen('oh-my-posh init cmd --config ~/PATH_TO_DIR/posh2k/posh2k.omp.json'):read("*a"))()```
## Challenges faced
Going through the docs and understanding different segments.
Hit the ⭐ button if you found this useful.
## More Info