install.fairie/home/dot_local/bin/executable_task
Brian Zalewski 83e0a254a4 Update 5 files
- /home/.chezmoiscripts/darwin/run_onchange_after_10_configure-macos.tmpl
- /home/private_dot_config/shell/exports.sh.tmpl
- /home/dot_local/bin/executable_task
- /home/.chezmoidata.yaml
- /software.yml
2022-12-25 02:42:39 +00:00

11 lines
302 B
Bash

#!/usr/bin/env bash
if command -v task > /dev/null && [ -n "$PATH_TASK" ]; then
if [ -f Taskfile.yml ]; then
$PATH_TASK $@
else
$PATH_TASK --taskfile "$HOME/.local/src/shared-common/common/Taskfile.yml" $@
fi
else
echo 'task is not installed or PATH_TASK is not defined.' && exit 1
fi