From dfdf18f3b7c66f825560ae45663b24e130ef3f2d Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Sat, 3 Dec 2022 00:36:16 +0000 Subject: [PATCH] Update .local/share/chezmoi/software.yml, .local/share/chezmoi/home/dot_local/bin/executable_install-program --- .../dot_local/bin/executable_install-program | 6 +++++- .local/share/chezmoi/software.yml | 20 +++++++++---------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.local/share/chezmoi/home/dot_local/bin/executable_install-program b/.local/share/chezmoi/home/dot_local/bin/executable_install-program index c1d3d4f2..8b938f3d 100644 --- a/.local/share/chezmoi/home/dot_local/bin/executable_install-program +++ b/.local/share/chezmoi/home/dot_local/bin/executable_install-program @@ -641,8 +641,12 @@ async function installPackageList(packageManager, packages) { try { if (packageManager === 'appimage') { } else if (packageManager === 'ansible') { + console.log(packageManager) + console.log(packages) for (let pkg of packages) { - execSync('gum spin --spinner dot --title "Installing ' + pkg + ' via Ansible" -- ansible localhost --skip-tags brew -m setup -m include_role -a name=' + pkg + ' -e ansible_user="$USER"', {stdio: 'inherit', shell: true}) + console.log(pkg) + //execSync('gum spin --spinner dot --title "Installing ' + pkg + ' via Ansible" -- ansible localhost --skip-tags brew -m setup -m include_role -a name=' + pkg + ' -e ansible_user=' + process.env.USER, {stdio: 'inherit', shell: true}) + await $`ansible localhost --skip-tags brew -m setup -m include_role -a name=${pkg} -e ansible_user=${process.env.USER}` } } else if (packageManager === 'apk') { for (let pkg of packages) { diff --git a/.local/share/chezmoi/software.yml b/.local/share/chezmoi/software.yml index 61d5ce60..f2da9c2a 100644 --- a/.local/share/chezmoi/software.yml +++ b/.local/share/chezmoi/software.yml @@ -588,7 +588,7 @@ softwarePackages: snap: bitwarden yay: bitwarden-git bitwarden-cli: - _bin: null + _bin: bw _desc: '[Bitwarden CLI](https://github.com/bitwarden/cli) (i.e. bw) is a free and open-source official CLI for the [Bitwarden](https://bitwarden.com/) password manager. bw is available on Linux, macOS, and Microsoft Windows.' _docs: https://bitwarden.com/help/ _github: https://github.com/bitwarden/clients @@ -1292,7 +1292,7 @@ softwarePackages: brew: difftastic cargo: difftastic direnv: - _bin: null + _bin: direnv _desc: '[direnv](https://direnv.net/) is an extension for your shell. It augments existing shells with a new feature that can load and unload environment variables depending on the current directory.' _docs: https://direnv.net/ _github: https://github.com/direnv/direnv @@ -1717,7 +1717,7 @@ softwarePackages: _service: null npm: fastify-cli fd: - _bin: null + _bin: fd _desc: '[fd](https://github.com/sharkdp/fd) is a program that can search for files on your filesystem. It is a simple, fast, and user-friendly alternative to find. While it does not aim to support all of find''s powerful functionality, it provides sensible (opinionated) defaults for a majority of use cases.' _docs: null _github: https://github.com/sharkdp/fd @@ -3977,7 +3977,7 @@ softwarePackages: _service: null npm: nectarjs neovim: - _bin: null + _bin: nvim _desc: null _docs: null _github: null @@ -4113,7 +4113,7 @@ softwarePackages: pacman: nnn pkg: nnn node: - _bin: null + _bin: node _desc: null _docs: null _github: null @@ -5085,7 +5085,7 @@ softwarePackages: port: rofi zypper: rofi rsync: - _bin: null + _bin: rsync _desc: null _docs: null _github: null @@ -5464,7 +5464,7 @@ softwarePackages: dnf: shotwell pacman: shotwell skate: - _bin: null + _bin: skate _desc: null _docs: null _github: null @@ -6582,7 +6582,7 @@ softwarePackages: _type: cli github: github.com/P3GLEG/Whaler wifi-password: - _bin: null + _bin: wifi-password _desc: null _docs: null _github: null @@ -6888,7 +6888,7 @@ softwarePackages: snap: zoom yay: zoom zoxide: - _bin: null + _bin: zoxide _desc: '[zoxide](https://github.com/ajeetdsouza/zoxide) is a blazing fast replacement for your cd command, inspired by z and autojump' _docs: null _github: null @@ -6907,7 +6907,7 @@ softwarePackages: _service: null ansible: professormanhattan.zsh zx: - _bin: null + _bin: zx _desc: null _docs: null _github: null