Why I switched to Zellij

I had tried switching to tmux for local shell sessions in past, but never truly understood why I might need it. I extensively used tmux for remote sessions. But why might I need it locally ? Then slowly I stopped using tmux and switched to wezterm which provided multiple tabs. Fast forward several years later. Recently I came across Zellij. I decided to give it a go. When I had tried tmux it took some time to get used to the keybinding.

Continue Reading »

How I generated 2000 parallel requests using nu-shell

At work, I need to load test new framework I had deployed. Usually, I work with QA team. They use JMeter (with Azure Load test) for such task. But today, the QA person was busy with other tasks, and I didn’t want to get blocked. Since I am learning rust, (nu-shell is built in rust) I remembered that it may be possible to run parallel requests in nu-shell. and it is!

Continue Reading »

Nu Shell

Earlier I wrote about various utilities written in rust. Nu shell is one of the most important of them (It is an entire shell after all, not just single utility) Installing Turns out I had installed nu-shell earlier, but via macports and I had forgotten about macports (and nu shell) Mysterious upgrade failure (Or so I thought) When I installed nu-shell via brew I got the latest version, but nu kept invoking older version.

Continue Reading »

Type accent marks in Wezterm on macOS

The tips from my previous post didn’t quite work while writing the blog post using helix editor. But as much as I can guess, it is a feature of the terminal and not the editor itself. So no point searching “Accent marks in Helix” 😄 Turns out initially1 wezterm didn’t support accent mark without special configuration. ('use_ime = true'), but since then it is enabled by default. Yet, it didn’t work for me.

Continue Reading »

Zsh Autosuggestions

I used zsh for couple of years, and then switched to fish mainly for its built-in autocompletion. fish is a modern shell (just like helix) and thus (I think) it does several things differently. For someone using various shells for over 2 decades, resisting muscle memory does not come easy. 1 I was used to export KEY=value, so in fish I always had to look up How to set an environment variable in fish 😆 - even after 2 years.

Continue Reading »

Better Git Status With fzf.fish

Towards the beginning of the year, I had written about Fuzzy Search in fish For the better part of the year. I only used Ctrl-R functionality, that too occasionally. Then today, I came across the same again, and after going through the README, I noticed at least one more useful keybinding. git status normally would just list the modified files etc. To see what has changed, one needs to git diff <filename>

Continue Reading »

Wezterm

I had installed Wezterm long time ago. I think when I started looking for alternatives to Alacritty. But I settled on kitty (I think I could not get wezterm to work) Few days ago, I stumbled upon it again, and I wanted to give it a try. So these days, I’m using wezterm as terminal. I specifically liked the built-in multiplexing feature. I haven’t tried it yet 🤷‍

Better Tabs Kitty

Some time ago, I started using kitty terminal emulator. I used Alacritty for a long time. But Alacritty is meant to be minimalistic in a sense it does not even have concept of having different tabs. The suggestion/solution is to use tmux (or like) to manage different shell instances. And I did that. And learnt a great deal about tmux in the process. I don’t regret it one bit. But sometimes, tmux gets in a way of how terminal based programs look (and behave) when executed inside tmux.

Continue Reading »

Better Icon for Kitty

Official instructions are here but it did not work for me. I did not understand Drag kitty.icns onto the application icon in the kitty info pane part. I tried dragging the icon, but could not make it work. I gave up. I can live with the default icon. But then I came across the following instructions here. Clear instructions that I can execute from inside kitty 😄 cp /tmp/kitty.icns /Applications/kitty.app/Contents/Resources/kitty.icns rm /var/folders/*/*/*/com.

Continue Reading »

Fish function to read webpage in Terminal

I’m really digging reading web posts in the terminal. After using it for some time, I realized that typing same arguments after the URL (That I usually copied to the clipboard from some other place) is getting cumbersome. So I created a fish function out of it (If you see yourself doing the same task over and over, it is a good place to automated it) Here is the simple function

Continue Reading »