mirror of https://github.com/ohmyzsh/ohmyzsh.git
markdown removed the [[ in the if-statement
parent
c7670fb339
commit
6d64481bb8
|
@ -35,6 +35,8 @@ When possible, use environment variables instead of forking a command.
|
||||||
|
|
||||||
`if-then` statements should be on one line:
|
`if-then` statements should be on one line:
|
||||||
|
|
||||||
if [[ -f $1 ]]; then
|
```bash
|
||||||
...
|
if [[ -f $1 ]]; then
|
||||||
fi
|
...
|
||||||
|
fi
|
||||||
|
```
|
Loading…
Reference in New Issue