mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-01 20:17:50 +08:00
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 [[ -f $1 ]]; then
|
||||
...
|
||||
fi
|
||||
```bash
|
||||
if [[ -f $1 ]]; then
|
||||
...
|
||||
fi
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user