From 2de59020c807de22709b61dc57a265914e020691 Mon Sep 17 00:00:00 2001 From: darkelfe14728 Date: Sat, 25 Nov 2017 19:00:35 +0100 Subject: [PATCH] new alias for updating calibre --- zsh/zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index 9b7ecf3..fc8e53d 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -59,6 +59,10 @@ alias la='ll -a' alias vim='vim -p' # Ouvre les paramètres comme des onglets au lieu de buffers +maj_calibre() { + sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.py | sudo python -c "import sys; main=lambda x:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main('/opt')" +} + #alias cclive='cclive -c' # Continue automatiquement les DL #alias cclive-best='cclive --stream best' # DL avec la qualité max