mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-16 12:20:40 +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-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