summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2020-12-10 09:20:16 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2020-12-10 09:20:16 +0200
commit83e94d34c2a60afbfd764a9e90d2fd41dd2001fa (patch)
treef86f50061d5f11cf0a104a5d62320c448be93e0b
parentc938b01e47d1c0a5e1709617a29fe0e1d52f0a53 (diff)
downloaddotfiles-83e94d34c2a60afbfd764a9e90d2fd41dd2001fa.tar
dotfiles-83e94d34c2a60afbfd764a9e90d2fd41dd2001fa.tar.gz
dotfiles-83e94d34c2a60afbfd764a9e90d2fd41dd2001fa.zip
Fedora update alias tells whether the computer needs to be restarted
-rwxr-xr-x.zshrc2
1 files changed, 1 insertions, 1 deletions
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"