← thinking

terminal delights

fine dining

I invite you to some fine dining … in my terminal.

Setup

While the initial iterations of this post wanted to be a showcase of all the cool commands I run, I realized it would be a bit more mature and optimal if I could also use this as a way to record good habits in the terminal.

So before I show you all the cool commands around, it is probably best if I go around showing how my computer is configured as it’ll provide the right context while I go through some of the entrées at the dining table.

System Information

Internet speed test

From maaslalani/fast (which is based on fast.com):

Very neat.

Fastfetch

fastfetch is a lot more popular, and I’m honestly guilty of not running this more often. It’s mainly a system information tool. Running this recently reminded me to go run garbage collection on my Nix store:

sreysus [λ] fastfetch ..' sreysus@sreyas-air ,xNMM. ------------------ .OMMMMo OS: macOS 27.0 (26A428) arm64 lMM" Host: MacBook Air (13-inch, M4, 2025) .;loddo:. .olloddol;. Kernel: Darwin 27.0.0 cKMMMMMMMMMMNWMMMMMMMMMM0: Uptime: 10 days, 1 hour, 11 mins .KMMMMMMMMMMMMMMMMMMMMMMMWd. Packages: 433 (nix-system), 3 (nix-user), 56 (nix-default), 115 (brew), 25 (brew-cask) XMMMMMMMMMMMMMMMMMMMMMMMX. Shell: nushell 0.109.1;MMMMMMMMMMMMMMMMMMMMMMMM: Display (Color LCD): 3420x2224 @ 2x in 14", 60 Hz [Built-in]:MMMMMMMMMMMMMMMMMMMMMMMM: WM: Quartz Compositor 462.0.8.402.MMMMMMMMMMMMMMMMMMMMMMMMX. WM Theme: Multicolor (Dark) kMMMMMMMMMMMMMMMMMMMMMMMMWd. Theme: Liquid Glass 'XMMMMMMMMMMMMMMMMMMMMMMMMMMk Font: .AppleSystemUIFont [System], Helvetica [User] 'XMMMMMMMMMMMMMMMMMMMMMMMMK. Cursor: Fill - Black, Outline - White (32px) kMMMMMMMMMMMMMMMMMMMMMMd Terminal: tcut ;KMMMMMMMWXXWMMMMMMMk. CPU: Apple M4 (10) @ 4.46 GHz "cooc*" "*coo'" GPU: Apple M4 (10) @ 1.47 GHz [Integrated] Memory: 15.80 GiB / 24.00 GiB (66%) Swap: 972.25 MiB / 2.00 GiB (47%) Disk (/): 432.20 GiB / 460.43 GiB (94%) - apfs [Read-only] Local IP (en0): 10.0.0.231/24 Battery (bq40z651): 99% (14 hours, 10 mins remaining) [Discharging] Locale: C.UTF-8sreysus [λ]

(I finally get to keep the Apple logo without the code-block font squishing it.)

Utilities

Change directory

This one is also quite popular: ajeetdsouza/zoxide.

~/workflow/sreyas.is/src/layoutssreysus [λ] cd postsdirenv: unloading~/workflow/content/postssreysus [λ]

It’s honestly quite magical.

Opening files

Perhaps the last one convinced you that even the most basic things can be upgraded. But “opening files”?? Really?

Yep. I’ve usually only used the regular open in Zshell when it’d be easier for my to type open <name>.png than copying the path and pasting into Finder cmd+G and double-clicking the file to let the default app (Preview) open it. For example, every time I wanted to open generated images in my raytracing project, it saved me a ton of time.

After I first installed Nushell, I found perhaps a bit too late that it comes with a couple of default commands that takes precendence in $env.PATH. One of them being open.

Ever since I switched to Nushell, I found its open command to be mostly a hindrance because it just didn’t function at all like Zshell’s open command. For example, it didn’t work the same way on .png files to open Preview. So I kept finding myself running ^open <name>.png because ^ escapes Nushell default commands and finds the next binary on the $env.PATH. However, once I found what it was capable of, I immediately started using it.

Yazi

Running yazi:

Yazi browsing the sreyas.is assets directory in Ghostty, with content-placeholder-about.jpg selected and previewed through the Kitty graphics protocol

Fun

Typing test

From lemnos/tt:

The tt terminal typing test running with Sreyas's Catppuccin Frappé theme

A nerdier version of monkeytype

You can run in the format of tt -n 10 for a 10-word test or tt -t 20 for a 20-second test. Also, I have my system configured so that tt is an alias to tt -theme catppuccin-frappe, which itself is derived from a custom theme file written @ ~/.tt/themes/catppuccin-frappe.