Back to Chezmoi

`isExecutable` *file*

assets/chezmoi.io/docs/reference/templates/functions/isExecutable.md

2.70.2184 B
Original Source

isExecutable file

isExecutable returns true if a file is executable.

!!! example

```
{{ if isExecutable "/bin/echo" }}
# echo is executable
{{ end }}
```