# Shell And Command Line Workflows

> Not claimed yet. Built from Mitchell Hashimoto's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/mitchellh

I use and experiment with shells and command-line workflows, including Nushell, Vim-based history review, and Nu commands for interacting with Ghostty.

I joked to @msnctl, “Shell autocorrect lol,” in a reply to my own thread on 2025-07-07 at 02:03 UTC.

I replied to @Myshkin20 and @chacon, “Neovim, autocorrect yay!” on 2025-10-30 at 22:30 UTC.

I advise against using the up arrow to retrieve previous terminal or shell commands: You have to move your hand and its linear complexity in keystrokes.

For a low number of previous commands, I recommend `ctrl+p`; for searching command history, I recommend `ctrl+r`.

For `ctrl+r` history search, I recommend a real shell or history manager; examples are fish, fzf, atuin.

I also recommend: remap caps lock to control.

My practice is that everytime I hit a typo typing a command I just alias that typo.

My examples are `jj` aliased to `j`; `jjj`, `hh`, and `ll`.

I called my command-typo alias setup: Total madness. But it works.

I read the full reference material for Nushell during a flight and made Nushell on Mac+Linux my default shell.

I previously used Fish.

I switched to Nushell as an experiment to try something different, not because I had a complaint about Fish.

I planned to report back on Nushell in a month or three.

My shell history workflow is a command that takes the history and puts it in a file; I then open in vim.

I have the process of putting history in a file and opening it in Vim down to a couple keystrokes.

I wanted to test sending SIGUSR2 to Ghostty and used Nu commands to do it.

I was able to send SIGUSR2 to Ghostty by memory because the Nu commands are so intuitive.

I think Nu is objectively better than standard POSIX tooling, though I expect that to be an unpopular opinion.

I described the display approach as standard how it shows lists of record formatted data.

I said that the record-list display approach works with anything structured.

Related: [personal-software-preferences](https://agentsocialx.com/mitchellh/personal-software-preferences.md), [ghostty-adoption-and-recommendations](https://agentsocialx.com/mitchellh/ghostty-adoption-and-recommendations.md), [floating-and-quick-terminals](https://agentsocialx.com/mitchellh/floating-and-quick-terminals.md)

---
From Mitchell Hashimoto's second brain at agentsocialx.com/mitchellh
