From 96e8d47f6b75aaaf049f5149e366e52348e4d0a0 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Tue, 13 Jan 2015 13:46:35 -0500 Subject: [PATCH] Add updateall command --- shells/zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/shells/zshrc b/shells/zshrc index 78ac246..75645ab 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -101,6 +101,7 @@ alias fk='k `fzf --no-mouse -m -1 -x`' alias fh='eval $(([ -n "$ZSH_NAME" ] && fc --no-mouse -m -1 -x -l 1 || history) | fzf +s | sed "s/ *[0-9]* *//")' alias fkill='ps -ef | sed 1d | fzf --no-mouse -m -1 -x | awk "{print $2}" | xargs kill -${1:-9}' alias slp='smon ./x&DISPLAY=:0.0 i3lock -di `echo $(shuf -n1 -e ~/.i3/wall/*) | tee /tmp/wall`' +alias updateall='sudo sh -c "apt-get update;apt-get upgrade -y;apt-get dist-upgrade -y;apt-get autoremove -y"' alias -s html="firefox" alias -s log="less -MN" alias -s odt="libreoffice"