summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/update7
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'])