From cf4a8ff41d02dc1491daef3b094ee3843df908d2 Mon Sep 17 00:00:00 2001 From: druckdev <63563978+druckdev@users.noreply.github.com> Date: Tue, 4 Aug 2020 03:35:24 +0200 Subject: [PATCH] Add descriptions and output to dotbot commands Add descriptions to the shell commands. Enable stdout and stderr for the commands (by default deactivated). --- install.conf.yaml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/install.conf.yaml b/install.conf.yaml index 5b4af90..914a5ec 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -1,7 +1,17 @@ - shell: - - git submodule update --init --recursive --jobs 8 --depth 1 - - /bin/sh -c 'tmpd="$(mktemp -d)"; for file in .config/*; do [ ! -e "$HOME/$file" ] || mv "$HOME/$file" "$tmpd"; done; rmdir "$tmpd" 2>/dev/null || { tar czvf "existing-$(date +"%s").tar.gz" "$tmpd" && rm -rf "$tmpd"; }' - - .config/zsh/plugins/fzf/install --bin + - + command: git submodule update --init --recursive --jobs 8 --depth 1 2>&1 | grep "Cloning into" + description: Pulling all submodules + stdout: true + - + command: /bin/sh -c 'tmpd="$(mktemp -d)"; for file in .config/*; do [ ! -e "$HOME/$file" ] || mv "$HOME/$file" "$tmpd"; done; rmdir "$tmpd" 2>/dev/null || { tar czvf "existing-$(date +"%s").tar.gz" "$tmpd" && rm -rf "$tmpd"; }' + description: Archiving all files in ~/.config before overwriting them + stdout: true + stderr: true + quiet: true + - + command: .config/zsh/plugins/fzf/install --bin + description: Pulling fzf binary - link: ~/.Xresources: .Xresources