mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-15 11:50:41 +01:00
markdown removed the [[ in the if-statement
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user