瀏覽代碼

use = instead of ==

pull/1/head
10sr 12 年之前
父節點
當前提交
fd13f07c43
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      bashrc

+ 2
- 2
bashrc 查看文件

@@ -117,7 +117,7 @@ fi
################################### ###################################
# some aliases and functions # some aliases and functions


( ! with_coreutils && isdarwin ) || test "$TERM" == dumb || \
( ! with_coreutils && isdarwin ) || test "$TERM" = dumb || \
_coloroption=" --color=auto" _coloroption=" --color=auto"
( ! with_coreutils && isdarwin ) || iswindows || \ ( ! with_coreutils && isdarwin ) || iswindows || \
_timeoption=" --time-style=long-iso" _timeoption=" --time-style=long-iso"
@@ -649,7 +649,7 @@ winln(){


__my_moc_state(){ __my_moc_state(){
type mocp >/dev/null 2>&1 || return 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`" printf "$1" "`mocp -Q %title 2>/dev/null`"
} }




Loading…
取消
儲存