From 7ee2b6bf5a6b58528af5adc85006fbe2a07385e9 Mon Sep 17 00:00:00 2001 From: Young Joon Lee Date: Wed, 7 Jun 2023 13:57:24 +0900 Subject: [PATCH] feat(taskfile): add clone-global-taskfile task to template --- chezmoi/Taskfile.dist.yaml.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chezmoi/Taskfile.dist.yaml.tmpl b/chezmoi/Taskfile.dist.yaml.tmpl index 21744764..29120948 100644 --- a/chezmoi/Taskfile.dist.yaml.tmpl +++ b/chezmoi/Taskfile.dist.yaml.tmpl @@ -16,6 +16,12 @@ tasks: cmds: - task --list + clone-global-taskfile: + desc: Clone the global Taskfile.dist.yaml to the current directory + dir: {{"'{{.USER_WORKING_DIR}}'"}} + cmds: + - cp $HOME/Taskfile.dist.yaml Taskfile.dist.yaml + tmux-new: desc: Create a new tmux session cmds: