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)