Better History Search

No, I’m not talking about Atuin. 1 I improved my search experience with just one tool - fzf As you might know, fzf is a general purpose fuzzy finder. 2 But adding just source <(fzf --zsh) at the end of ~/.zshrc (and/or running it in your existing session) improves your Ctrl+r experience. See the demo yourself. I must confess that I’m tempted multiple times. But I think their USP is history sync, which is not my use case right now.

Continue Reading »

How to define task dependencies in justfile

It has been more than 20+ years since I used Makefiles seriously. I did use them later, but they were very simple. Then I found and moved just task runner, which is supposed to be replacement for make My justfiles were also simple. and today, I needed to define a task that we dependent on another. Turns out, it is same as Makefile task1: @echo "Task1" task2: task1 @echo "Task2" In the above example, task2 depends on task1, and thus when we say just task2, task1 will get executed, as it is a dependency for task1

Installing Espanso on openSUSE

After the basic setup was done (I made a list of tools to be installed on line before I installed Linux itself), I wanted Espanso While Espanso is well supported on X11, for wayland, it needs to be compiled from the source I ran into this issue but solution was found in the same issue. While install went through, I ran into issues related to capability grant. Following worked: sudo zypper install libcap-progs sudo setcap "cap_dac_override+p" $(which espanso) espanso start --unmanaged I also needed to add the following to config/default.

Continue Reading »

Installed openSUSE on Macbook Pro (Intel)

My Macbook Pro (early 2015) isn’t getting any OS updates for some time. Only version it supports is Monterey (which is already couple major versions behind the latest) brew has also started complaining as This version is not supported So I’ve been considering installing linux on it for some time anyway. I finally pulled the trigger and installed openSUSE Tumbleweed I had tried the live version, and knew and it generally works.

Continue Reading »

Terminal : How to copy files showing progress

While copying large amounts of files (lots of photos) I used to use Finder in the macOS. Good ol’ drag-n-drop Usually it is reliable, but lately I’m facing some problems when copying files to external disk. Finder itself would become unresponsive. So I decided to use terminal instead. It worked (kinda) but it took 51 minutes to finish the copy (There were a lot of files) and as you know traditionally cp does not show progress.

Continue Reading »

macOS : Possible workaround for `Disk Not Ejected` error

See this thread titled : Disk Not Ejected Properly – AGAIN AGAIN AGAIN AND AGAIN… I have started seeing this problem a LOT TL;DR: Something breaks when macOS goes to sleep Solution : Do not allow macOS to sleep when using external disk. I have had to resort to using an application called Amphetamine (earlier Caffeine) and set the ‘Drive Alive’ mode to prevent sleep. All the problems went away. It has nothing to do with ‘frayed cables’ or ‘drives going bad’.

Continue Reading »

MacOS : How to Clean up the disk

In my plan to shift to Linux, I considered dual booting. Turns out I may not have enough disk space. I have reached at about 12 15GB free space. At first I thought, if live session can fit into 4GB, then 12 15GB should be enough, but looks like that may not be the case. 1 So I’m shelving the plan to dual boot. I’ll go with full disk install. That way linux gets entire 128GB SSD 👍

Continue Reading »

Vivaldi: How to save all open tabs (and Why ?)

For a long time, I’m considering switching to Linux full time since my existing machine does not get OS updates from apple. 1 In preparation for this “move”, I check whether all the software is available on Linux. Vivaldi browser in on that list (available on Linux ✅). What about my already opened tabs ? Every few days I close the temporary/ unwanted tabs. 2 but I do want others on Linux.

Continue Reading »

What does demunge mean in clojure repl ?

I started learning clojure yesterday. Initial useful (for me) command in clojure REPL : dir 1 As per the example given in the documentation, (dir clojure.repl) produced list of commands (?) - one of which is demunge I had no idea about it, and so I tried dir(demunge) and it returned nil 😆 I could not find it in the documentation, so I asked ChatGPT about it, and it explained the following: 2

Continue Reading »

How to use Google Keep for Quick Capture with Obsidian

Problem While I use 1 Obsidian to capture everything while I’m at the desktop, it gets tricky when I’m away from the Desktop. Especially during my morning walk, I listen to Audiobook, and want to capture either a quote or some of my own related thoughts. 2 Solution Today, I came across a YouTube Video 3 which addresses this issue. Zsolt goes on to explain how see sought suggestions on Twitter 4

Continue Reading »