浏览代码

Merge branch 'fix-colored-man-pages-syntax'

Marc Cornellà 9 年之前
父节点
当前提交
4b95c166bd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      plugins/colored-man-pages/colored-man-pages.plugin.zsh

+ 2 - 2
plugins/colored-man-pages/colored-man-pages.plugin.zsh

@@ -1,6 +1,6 @@
-if [ "$OSTYPE" = solaris* ]
+if [[ "$OSTYPE" = solaris* ]]
 then
 then
-	if [ ! -x "$HOME/bin/nroff" ]
+	if [[ ! -x "$HOME/bin/nroff" ]]
 	then
 	then
 		mkdir -p "$HOME/bin"
 		mkdir -p "$HOME/bin"
 		cat > "$HOME/bin/nroff" <<EOF
 		cat > "$HOME/bin/nroff" <<EOF