From 47a42ceacd73ab5114df47f8cfda4492cd56fd77 Mon Sep 17 00:00:00 2001 From: buffet Date: Tue, 28 Nov 2023 09:52:49 +0100 Subject: [PATCH] bash: add update command --- dots/.bashrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dots/.bashrc b/dots/.bashrc index de44520..2baec65 100644 --- a/dots/.bashrc +++ b/dots/.bashrc @@ -8,6 +8,13 @@ alias rg='rg -S' bind '"\C-o": "\C-a\C-k fg; if [[ $? == 1 ]]; then nvim; fi\n"' bind '"\e\C-m": "\C-e | nvim\C-m"' +update() { + rpm-ostree upgrade + distrobox upgrade --all + rustup update + flatpak update +} + __prompt() { local status="$?" local row