'( about )

bash magic

Posted on 02 Jan 2015

Bash has a bunch of features that are (somewhat) undocumented but are extremely powerful. There are magic variables, shortcuts and shorthands that can help you improve your shell-fu. This post is a compilation of some of the best features Bash has to offer (many of which apply to zsh as well).

Shortcuts

Shorthands and Magic variables

PS1 Variables for Prompt Customization