I’ve recently found something relatively interesting that you can do in a bash terminal. I recently sent out an email talking about how to implement git completion’s wonderful self to work on macs. Part of that endeavor meant diving into the way that the terminal displays its information to you on your prompt. Some of the things [...]
Bash Tips & Tricks
Yesterday on the-list I was asking about some weird behavior about `test`, so it made me want to write about some other Bash scripting pitfalls which I have fallen into before. Maybe some of these you’ve run into before, maybe some you haven’t. Anyways, I hope you find something here helpful. Note that these apply [...]
Changing Directories More Easily
Here is something I have in my Bash config that I have found useful these days. It defines a command called up that lets me move up a given number of directories. For example, up 2 is the same as cd ../.., and up 4 is cd ../../../.., and so on. function up() { cd [...]
Easy Documentation for Git, MySQL, PHP, et cetera
This is what I do on my box to quickly find documentation, which you guys may find helpful. Especially those of you on Linux—although you could do this on Windows too. Most package managers make available ‘-doc’ packages, like php-doc, mysql-doc, and so on. Install these for all the major software you use. Next, install [...]




