bash: add update command
This commit is contained in:
parent
9c176c9577
commit
47a42ceacd
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue