From 83e94d34c2a60afbfd764a9e90d2fd41dd2001fa Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 10 Dec 2020 09:20:16 +0200 Subject: Fedora update alias tells whether the computer needs to be restarted --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 4623ee6..a991f24 100755 --- a/.zshrc +++ b/.zshrc @@ -131,7 +131,7 @@ alias ydlba="youtube-dl --audio-format best -x" alias sdi="sudo dnf install -y" alias sdr="sudo dnf remove -y" alias sda="sudo dnf autoremove -y" -alias sdu="sudo dnf upgrade -y && sudo dnf autoremove -y && sudo youtube-dl --update && wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash" +alias sdu="sudo dnf upgrade -y && sudo dnf autoremove -y && sudo youtube-dl --update && wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash && needs-restarting -r" alias sds="sudo dnf search" alias sdudiscord="wget -O discord.tar.gz \"https://discord.com/api/download?platform=linux&format=tar.gz\" && tar -xzf discord.tar.gz && sudo rm -rf /opt/Discord && sudo mv Discord /opt" -- cgit v1.2.3