summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-10-28 21:00:31 +0200
committerDaniel Weipert <code@drogueronin.de>2023-10-30 09:52:23 +0100
commit5dd20583b8b759b535ae86b18b1cc733225ad2da (patch)
tree4d61b63d7d0138a80f06e8936d4b2661456d0d0e /.local
parentd6f7ebd26324763dbea00dcc25cd0cceacba9673 (diff)
[update] add rust
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/update4
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/bin/update b/.local/bin/update
index 990f0cc..f49de9a 100755
--- a/.local/bin/update
+++ b/.local/bin/update
@@ -3,6 +3,7 @@
"""
nvim '+PlugUpdate'
sudo pacman -Syu
+rustup update
aur sync -unr
nix-channel --update && nix-env -u
"""
@@ -56,6 +57,9 @@ try:
for command in commands_noconfirm:
command()
+ log('Running `rustup update`...')
+ subprocess.run(['rustup', 'update'])
+
log('Running `nix-channel --update`...')
subprocess.run(['nix-channel', '--update'])