From e52d97cf2b6c3555a657304eb90efdd9e85a9df9 Mon Sep 17 00:00:00 2001 From: BlackNet Dev Date: Sat, 16 May 2020 19:34:04 +0200 Subject: [PATCH] change pacman with yay --- rainbow-alias.plugin.zsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rainbow-alias.plugin.zsh b/rainbow-alias.plugin.zsh index 25304fd..98a98e2 100644 --- a/rainbow-alias.plugin.zsh +++ b/rainbow-alias.plugin.zsh @@ -14,14 +14,14 @@ if (( $+commands[reflector] )); then alias updmirror='sudo reflector -l 200 -n 20 -p http --sort rate --save /etc/pacman.d/mirrorlist && sudo pacman -Sy' fi -if (( $+commands[yay] )); then - alias update='yay -Syyu --noconfirm' -fi - if (( $+commands[pacman] )); then alias update='pacman -Syyu --noconfirm' fi +if (( $+commands[yay] )); then + alias update='yay -Syyu --noconfirm' +fi + if (( $+commands[apt] )); then alias update='sudo apt update; sudo apt upgrade -y' fi