mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
Fix syntax error in colored-man-pages
Commit 09d2a597a5
introduced the bug, which is due to using
single brackets conditions at the same time as *.
This commit should fix it and use double brackets everywhere
else.
Fixes #4699
This commit is contained in:
parent
fe9ff63ced
commit
5e310c5308
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue