Permalink
Browse files

fix status

  • Loading branch information...
1 parent 4a155a7 commit 052afeb6facadc6d1ca0a352c17ca6aec34cc9a7 @sanemat committed Jun 9, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 .bashrc
View
@@ -40,11 +40,12 @@ alias svngrep="grep --exclude='*.svn-*' --exclude='entries'"
alias rvenv='rbenv'
alias pup="plackup -MPlack::App::Directory -e 'Plack::App::Directory->new({root=>\".\"})->to_app' -p 3000"
git() {
- if [[ $@ == stauts ]]
+ if [[ $1 == stauts ]]
then
- command git status
+ local remains=$(echo "$@" | sed -e 's!stauts!!')
+ command "git status $remains"
else
- command git "$@"
+ command "git $@"
fi
}
svn() {

0 comments on commit 052afeb

Please sign in to comment.