Created
April 26, 2012 17:10
-
-
Save lukearmstrong/2501041 to your computer and use it in GitHub Desktop.
.bashrc
This file contains hidden or 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
# User specific aliases and functions | |
# Coloured prompt so you can find it in the wall of output | |
PS1='${debian_chroot:+($debian_chroot)}\[\033[02;33m\]\u@\h\[\033[01;31m\] | |
\w \$\[\033[00m\] ' | |
# guess | |
alias ll='ls -alh' | |
# go to root of current hg repo | |
alias hgr='cd $(hg root)' | |
# go to root of current git repo | |
alias gitr='cd $(git rev-parse --show-toplevel)' | |
# better than grep | |
alias ack='ack-grep --pager="less -R"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment