Patshead.com Blog

Homelab, local LLMs, 3D printing, and coding agents — by Pat Regan

36 posts

Category: Command Line & Tools

March 2014

zsh-dwim: I Feel Like a Genius, Belatedly

I’ve been stuck on my laptop for the last few months, and I’ve been doing my best to tolerate its old, slow, spinning hard drive. I’ve also been tweaking all sorts of settings in an attempt to make things more...

Read the post →
February 2014

A Couple of zbell.zsh Bug Fixes

I’ve been using zbell for over a month now, and I’m really starting to rely on it. Old habits are hard to break. I still find myself peeking at long running processes just to see if they’ve finished, but I’m...

Read the post →
December 2013

Emacs: ELPA and use-package

I have dozens of files from various corners of the Internet in my ~/.emacs.d/lisp/ directory. I’ve tried to keep the important ones up to date, but I’ve never done a very good job of it. The ones that are old...

Read the post →
September 2013

Generating New, More Secure SSH Keys

I already generated a new 2048-bit RSA key pair for SSH this year, on January 3rd, to replace the 1024-bit DSA key pair that I had been using since October 23, 2010. I’ve been putting off generating a new key...

Read the post →
February 2013

Upgrading from Autojump to Fasd

I’ve had my eye on fasd for quite a while now. It does everything that autojump does and more. It didn’t look like it would be hard to use fasd in autojump’s place, but I am inherently lazy; I wouldn’t...

Read the post →
October 2012

Cleanup of zsh-dwim

I went ahead and cleaned up zsh-dwim (Do What I Mean) quite a bit. If you haven’t been following along, zsh-dwim attempts to predict your intended next command when you hit control-u. I also recorded a short screen cast demonstrating...

Read the post →
October 2012

Initial Release of zsh-dwim

I’ve had a small idea rolling around in my head for while now. While operating in a shell, there are certain commands that often follow others. Sometimes there is a problem. You attempt to ssh into a host and it...

Read the post →
May 2011

My Take on "The Go Command"

When I first saw Zachary Wasserman’s Go Command, I wasn’t entirely convinced that it was a good idea. I figured you could get similar functionality with less typing by enabling autocd, properly configuring binfmt_misc, and setting the execute bit on...

Read the post →
April 2011

Improve Your oh-my-zsh Startup Time (Maybe)

Update 2012-10-17: The slow start up with the newer zsh package was my own fault. In my transition to Prezto, I unintentionally removed the skip_global_compinit=1 from my .zshenv file. The global start up scripts for zsh-beta don’t call compinit, but...

Read the post →
February 2011

Why I Finally Stuck With zsh

I have been a bash user for about 15 years now. I have probably installed zsh at least a half dozen times over the years with the intention of giving it a proper try. Nine months ago I finally put...

Read the post →
March 2010

A Quick Port of App::EditorTools to Emacs

I saw an article about Stealing from Padre for Vim and I got a bit jealous that this functionality wasn't already available for Emacs. I guess I lucked out because it was very easy to make use of App::EditorTools in...

Read the post →