From aa709978d232bc917d88961168afd5bc249ebfec Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 14 Dec 2023 21:09:51 +0100 Subject: [update] move nvim plugin update --- .local/bin/update | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to '.local/bin/update') diff --git a/.local/bin/update b/.local/bin/update index ebac9a5..9cb752d 100755 --- a/.local/bin/update +++ b/.local/bin/update @@ -33,8 +33,6 @@ open(lock_file, 'a').close() try: commands_confirm = [ - lambda: log('Running `nvim --headless \'+Lazy! sync\'`...'), - lambda: subprocess.run(['nvim', '--headless', '"+Lazy! sync"', '+qall']), lambda: log('Running `sudo pacman -Syu`...'), lambda: subprocess.run(['sudo', 'pacman', '-Syu']), lambda: log('Running `aur sync -unr`...'), @@ -46,8 +44,6 @@ try: lambda: subprocess.run(['aur', 'sync', '-unr']), lambda: log('Running `sudo pacman -Syu`...'), lambda: subprocess.run(['sudo', 'pacman', '-Syu', '--noconfirm']), - lambda: log('Running `nvim --headless \'+Lazy! sync\'`...'), - lambda: subprocess.run(['nvim', '--headless', '"+Lazy! sync"', '+qall']), ] if not args.noconfirm: @@ -57,6 +53,9 @@ try: for command in commands_noconfirm: command() + log('Running `nvim --headless \'+Lazy! sync\'`...'), + subprocess.run(['nvim', '--headless', '"+Lazy! sync"', '+qall']), + log('Running `rustup update`...') subprocess.run(['rustup', 'update']) -- cgit v1.2.3