mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-06 21:07:49 +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-then` statements should be on one line:
|
||||||
|
|
||||||
if [[ -f $1 ]]; then
|
```bash
|
||||||
...
|
if [[ -f $1 ]]; then
|
||||||
fi
|
...
|
||||||
|
fi
|
||||||
|
```
|
||||||
Loading…
Reference in New Issue
Block a user