mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-09-19 04:01:21 +02:00
markdown removed the [[ in the if-statement
parent
c7670fb339
commit
6d64481bb8
1 changed files with 5 additions and 3 deletions
|
@ -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 a new issue