Created
August 10, 2013 17:49
-
-
Save bracke/6201383 to your computer and use it in GitHub Desktop.
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
# Make some possibly destructive commands more interactive. | |
alias rm='rm -i' | |
alias mv='mv -i' | |
alias cp='cp -i' | |
# Add some easy shortcuts for formatted directory listings and add a touch of color. | |
alias ll='ls -lF' | |
alias la='ls -alF' | |
alias ls='ls -F' | |
# Make grep more user friendly by highlighting matches | |
# and exclude grepping through .svn folders. | |
alias grep='grep -i --exclude-dir=\.git' | |
# Clear the screen and list file | |
alias cls='clear;ls' | |
# Filesystem diskspace usage | |
alias dus='df -h' | |
# Shorthand navigation | |
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias ....='cd ../../..' | |
alias .....='cd ../../../..' | |
alias del='rm' | |
alias dir='ls' | |
alias rmdir='rm -rf' | |
alias reload='. ~/.bash_profile' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment