mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
markdown removed the [[ in the if-statement
1 parent
c7670fb339
commit
6d64481bb8
1 file changed
+5
-3
+5
-3
@@ -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
|
||||||
|
```
|
||||||
Reference in new issue
Block a user