→ Oh My Posh

I had heard about Oh my Posh several years ago. It was in the context of Oh my Zsh 1 Oh My Posh was its Powershell cousin.

Since (AFAIK) Powershell is on Windows, and I haven’t used Windows in so many years, I had no use of it.

Then few days ago, I came across XeroLinux 2

The shell prompt looked very nice. I had assumed it must be starship which was my prompt engine till that point. But looking at XeroLinux’s github, I could not find starship.toml but I found Oh my Posh config instead.

Could my eyes be deceiving me? 😄

So I searched, and it turns out it is (now?) shell agnostic Prompt engine.

The site has install instructions for macOS as well as Linux (and Windows of course 😄) It supports a lot of different shells, including zsh. They also have good documentation about how to integrate it with different shells. I used the one for zsh

Currently, I’m using XeroLinux’s config almost as-is. That is what I wanted anyway 😄

I wish I could post screenshots of my terminal, but it does not need to be my terminal. Since I use the same config as XeroLinux, and since Oh-my-Posh is OS and shell agnostic, why not check XeroLinux screenshot directly ?

Check the beautiful prompt near the bottom of the terminal window. 👆


  1. Oh-My-Zsh is starter kit for Zsh. Check the site if you are curious ↩︎

  2. It is a beautiful Arch Linux based distro. At least checkout the gorgeous screenshots. ↩︎

Sketch: Tortoise

I had saved a pencil drawing of a tortoise from the internet. Unfortunately I can not find the link to the original. I wanted to try a light pencil layer first and then a final layer, but since I did not play around with brushes too much, it did not turn out the way I wanted. Looking back, I should have used lighter and broader pencil for the first layer, and then HB, followed by darker (2B ?

Continue Reading »

Using Gen AI in day-to-day life

Today, I wrote an angry email to some support team. While I was writing it, I realized that while I’m pouring my heart out, the tone I used will not help. Yet, I could not have made it better without a lot of effort/multiple iterations.

ChatGPT to the rescue.

I simply pasted my response as-is, and asked it to make it professional sounding.

The reworded letter was much better.

Thanks ChatGPT! 🙏

Sketch: Robot

This image inspired by a cartoon appeared in the local newspaper. I liked how simple drawing the robot was. (I’m always looking for simple-to-draw sketches) For the first time, I used color (albeit very tiny, still…) The original sketch had light blue hue for the body of the robot, but I decided not to paint the whole sketch. Just the eyes to draw viewer’s attention was enough. This time also I used multiple layers.

Continue Reading »

Sketch: Brendan and Al

These are two main characters of O Human Star Comic When I looked at this comics, I really liked how simple the character faces were. So decided to see if I can draw them. I am likely to draw more characters from this comic in the future. These two faces were drawn by looking at this page This is the first time I used layers in HiPaint. First layer is the a pencil drawing.

Continue Reading »

Sketch: Weight Training

The doodle comes from Dave Gray’s old video (Not sure of the source - sorry) But doodle itself was not the interesting thing. Today I discovered that the Whiteboard app has excellent pen tool. I used the Size 10, and I was able to create excellent calligraphy (if I may say so myself 🫣) Normally I add the date and name in some other app, but I could not resist writing the date in calligraphy fashion.

Continue Reading »

Visual Alphabet : Session by Dave Gray

This is my attempt to create a sketchnote of the session he delivered during the World Sketchnote Week. 1 Looking at other people’s sketchnotes of this session, I realize that I need to do much better. I’ve just reproduced parts of sketches from his session. Drawing Dave’s face was original idea, rest of it seems unconnected ideas. I should have used banners, containers, lettering etc. Next time. I used a different software this time.

Continue Reading »

Visual Alphabet

Visual Alphabet

All the (English) words (sentences, paragraphs, chapters, books …) are made up of only 26 alphabets. (Let us leave aside punctuation marks for now 😉)

Similarly, most the (basic) drawing is made up of these 12 basic shapes, hence the visual alphabets.

This English phrase makes it easy to remember

ALL HOT BREADS

Continue Reading »

Using Harper Language Server with Helix Editor

First Install Harper using the method appropriate for your OS. Then add the following to languages.toml [language-server.harper-ls] command = "harper-ls" args = ["--stdio"] Restart Helix Editor. Now you should see squiggly lines under incorrectly spelled words. 🎉 In order to see (and possibly choose) the correct spelling, take the cursor on the error and space a (Code actions)

Solved: unknown terminal xterm-ghostty

Add the following to your (platform specific 1) config file shell-integration-features = ssh-env, ssh-terminfo Now reload the configuration. The configuration can be reloaded at runtime by pressing ctrl+shift+, (Linux) or cmd+shift+, (macOS). on macOS : $HOME/Library/Application\ Support/com.mitchellh.ghostty/config, and $XDG_CONFIG_HOME/ghostty/config for Linux if XDG_CONFIG_HOME is not defined, it defaults to $HOME/.config/ghostty/config. ↩︎