Skip to content

Commit

Permalink
Bash string equality operator is single equal =
Browse files Browse the repository at this point in the history
  • Loading branch information
sanemat committed Jun 10, 2012
1 parent e93dd25 commit 6bbe052
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .bashrc
Expand Up @@ -40,7 +40,7 @@ alias svngrep="svn grep"
alias rvenv='rbenv'
alias pup="plackup -MPlack::App::Directory -e 'Plack::App::Directory->new({root=>\".\"})->to_app' -p 3000"
git() {
if [[ $1 == stauts ]]
if [[ $1 = stauts ]]
then
shift
command git status "$@"
Expand All @@ -49,11 +49,11 @@ git() {
fi
}
svn() {
if [[ $1 == stauts ]]
if [[ $1 = stauts ]]
then
shift
command svn status "$@"
elif [[ $1 == grep ]]
elif [[ $1 = grep ]]
then
shift
command grep --exclude='*.svn-*' --exclude='entries' "$@"
Expand Down

0 comments on commit 6bbe052

Please sign in to comment.