Last active
August 29, 2015 14:20
-
-
Save squarepegsys/c5bab3410d6cbed56ba6 to your computer and use it in GitHub Desktop.
Shell Aliases
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
alias l="ls -l" | |
alias unzip="unzip -q" | |
alias edit=$EDITOR | |
alias dl='dirs -v' | |
alias c=clear | |
alias ack="nocorrect ack" | |
alias redir="$EDITOR ~/.diraliases; source $HOME/.diraliases" | |
### git stuff | |
alias gss='git status --short' | |
alias gfl='git reflog' | |
alias gl='git smart-log' | |
alias gm='git smart-merge' | |
alias gup='git smart-pull' | |
###### grails stuff | |
alias gclean="grails clean" | |
alias gapp="grails clean && grails run-app" | |
alias gtest="grails clean && grails test-app" | |
alias gwar="grails clean && grails war" | |
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
function grepJars() { | |
for x in `find . -name "*.jar"`; do | |
echo $x | |
unzip -l $x|grep $1 | |
done | |
} |
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
[ -f $HOME/.aliases ]; source $HOME/.aliases | |
[ -f $HOME/.diraliases ]; source $HOME/.diraliases |
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
alias realias="$EDITOR $HOME/.aliases; source $HOME/.aliases" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment