Created
February 7, 2013 03:04
-
-
Save msharp/4728070 to your computer and use it in GitHub Desktop.
Add an alias to your aliases to list your aliases. Works for bash & zsh, probably other shells too.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias aliases="egrep '^[^#$ ]' $0 | sed -E 's/^alias ([^=]+)=/\1 => /g' | sort" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment