|
|
|
|
|
by kludgeon
1928 days ago
|
|
just use zsh.
`if [[ -f file ]] {run this command} else {run that command}` no closing `fi`, use multiline or single line, add an arbitrary number of elif statements. this only requires the short option is set in your z shell. |
|