GTD vs. the Bash shell

| No Comments | No TrackBacks

I’ve been doing a major filesystem re-org lately in my ongoing mission to Get More Done. In the spirit of GTD, I created several directories starting with an “@” — @ARCHIVE, @PROJECTS, etc.

All was well and good until I tried to cd @<tab> in the parent directory. Rather than get a directory listing showing me the directories starting with @, it listed available network interfaces:

> cd @
@::1 @broadcasthost @localhost

What the heck? I asked around, and this morning on IRC I got my answer:

tell redmonk that bash thinks you’re typing user@host
use shopt -u hostcomplete to turn that off

Hm…

> shopt -u hostcomplete
> cd @
@ARCHIVE @PROJECTS

W00t! (Thanks to deltab on #swhack for the tip)

No TrackBacks

TrackBack URL: http://redmonk.net/mt/mt-tb.cgi/44

Leave a comment

R.E.M. Says:

About this Entry

This page contains a single entry by Steve published on December 19, 2005 4:03 PM.

Quicksilver Command Key Reference was the previous entry in this blog.

Catching Up To Do is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID