Created
January 19, 2013 15:01
-
-
Save geowarin/4573076 to your computer and use it in GitHub Desktop.
My default .bashrc file for cygwin
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
# If not running interactively, don't do anything | |
[[ "$-" != *i* ]] && return | |
# Use case-insensitive filename globbing | |
shopt -s nocaseglob | |
# When changing directory small typos can be ignored by bash | |
# for example, cd /vr/lgo/apaache would find /var/log/apache | |
shopt -s cdspell | |
# Aliases | |
# Default to human readable figures | |
alias df='df -h' | |
alias du='du -h' | |
# Grep | |
alias grep='grep --color' # show differences in colour | |
alias egrep='egrep --color=auto' # show differences in colour | |
alias fgrep='fgrep --color=auto' # show differences in colour | |
# Coloring | |
alias ls='ls -hF --color=tty' | |
alias dir='ls --color=auto --format=vertical' | |
alias vdir='ls --color=auto --format=long' | |
alias ll='ls -l' | |
alias la='ls -A' | |
# Navigation | |
alias topath='ln -t /usr/bin' | |
alias godev='cd c:/Users/Aziphael/dev' | |
alias gohome='cd c:/Users/Aziphael/' | |
# Aliases to generate maven archetypes | |
function gensimple() { mvn archetype:generate -DgroupId=com.geowarin -DarchetypeArtifactId=maven-archetype-quickstart -DartifactId="$1" ;} | |
function genwebapp() { mvn archetype:generate -DgroupId=com.geowarin -DarchetypeArtifactId=maven-archetype-webapp -DartifactId="$1" ;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment