From fd13f07c43025e8487c24f08ae169bc2f7ea1d28 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 12 Apr 2013 21:28:07 +0900 Subject: [PATCH] use = instead of == --- bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 2d01c1c..0b47831 100755 --- a/bashrc +++ b/bashrc @@ -117,7 +117,7 @@ fi ################################### # some aliases and functions -( ! with_coreutils && isdarwin ) || test "$TERM" == dumb || \ +( ! with_coreutils && isdarwin ) || test "$TERM" = dumb || \ _coloroption=" --color=auto" ( ! with_coreutils && isdarwin ) || iswindows || \ _timeoption=" --time-style=long-iso" @@ -649,7 +649,7 @@ winln(){ __my_moc_state(){ type mocp >/dev/null 2>&1 || return - test "`mocp -Q %state 2>/dev/null`" == PLAY || return + test "`mocp -Q %state 2>/dev/null`" = PLAY || return printf "$1" "`mocp -Q %title 2>/dev/null`" }