From 9357cafc9d5a869e5eb9f6e419d73f462c3e1762 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 25 Aug 2021 20:36:27 +0200 Subject: [PATCH] some more aliases --- zsh-david.plugin.zsh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/zsh-david.plugin.zsh b/zsh-david.plugin.zsh index 09a3261..f5069f9 100644 --- a/zsh-david.plugin.zsh +++ b/zsh-david.plugin.zsh @@ -52,10 +52,10 @@ alias {myip,myip4}="curl http://4.ifconfig.pro" alias myip6="curl http://6.ifconfig.pro" alias {dc,compose}="docker-compose" alias d="docker" -alias jekyll="$HOME/Projects/scripts/jekyll.sh" +alias jekyll="$HOME/Sync/Projects/scripts/jekyll.sh" alias {p,pass}="gopass" - +alias {a,apt}="sudo apt" # **** function definitions **** @@ -143,7 +143,7 @@ rdp() { ## OS upgrade for various systems update() { - systems="ubuntu arch solus raspbian antergos" + systems="ubuntu arch solus raspbian antergos elementary" issue="$(cat /etc/issue)" for item in $systems; do echo $issue | grep -i $item >> /dev/null @@ -153,8 +153,8 @@ update() { done case $system in - ubuntu|debian|raspbian) - echo "Updating Ubuntu/Debian.." + ubuntu|debian|raspbian|elementary) + echo "Updating Debian based system.." sudo apt update && sudo apt dist-upgrade -y && sudo apt autoremove -y && sudo apt autoclean -y ;; arch|antergos)