diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-12-14 21:09:51 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-12-14 21:09:51 +0100 |
commit | aa709978d232bc917d88961168afd5bc249ebfec (patch) | |
tree | 3c9df12d77bf406327a11d4703627e3bebe8f8e9 /.local/bin | |
parent | 8d6af9d11e3806261b85eafff14b37589cafc70c (diff) |
[update] move nvim plugin update
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/update | 7 |
1 files changed, 3 insertions, 4 deletions
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']) |