16 lines
512 B
Bash
16 lines
512 B
Bash
#!/usr/bin/env bash
|
|
|
|
{{- includeTemplate "universal/profile" }}
|
|
{{- includeTemplate "universal/logg" }}
|
|
|
|
{{ $exeFiles := (output "find" (joinPath .chezmoi.homeDir ".local" "bin") "-mindepth" "1" "-maxdepth" "1" "-type" "f") -}}
|
|
{{- range $exeFile := splitList "\n" $exeFiles -}}
|
|
{{- if ne $exeFile "" -}}
|
|
# {{ $exeFile }}
|
|
{{ end -}}
|
|
{{- end }}
|
|
|
|
logg 'Ensuring all files in ~/.local/bin are executable'
|
|
find "$HOME/.local/bin" -mindepth 1 -maxdepth 1 -type f | while read EXE_FILE; do
|
|
chmod +x "$EXE_FILE"
|
|
done
|