From b321e7035bdce0e5e99d24422b7aadeb89bf160d Mon Sep 17 00:00:00 2001 From: Kirill Morozov Date: Mon, 29 Jul 2024 22:49:38 +0300 Subject: [PATCH] feat: add dependency --- Taskfile.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 3868c20..3aee6a2 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -28,24 +28,26 @@ tasks: cmds: - brew install starship + install:omz: + desc: Install Oh My Zsh. + status: + - '[ -d ~/.oh-my-zsh ]' + cmds: + # yamllint disable-line rule:line-length + - sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" + install:completions: desc: Generate completions for most used tools. vars: COMPLETION_PATH: ~/.oh-my-zsh/custom/completions + deps: + - install:omz cmds: - brew completions link - fd --gen-completions=zsh > {{.COMPLETION_PATH}}/_fd - rg --generate=complete-zsh > {{.COMPLETION_PATH}}/_rg - task --completion zsh 2> {{.COMPLETION_PATH}}/_task - install:omz: - desc: Install Oh My Zsh. - status: - - '[ -d ~/.oh-my-zsh ]' - cmds: - # yamllint disable-line rule:line-length - - sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" - stow:package: internal: true label: stow:{{.PACKAGE}}