From c57287e26f5ef66c1b6aa8c3094783a32ee366c2 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 25 Aug 2014 13:32:36 +0200 Subject: [PATCH] pip_upgrade --- .bash_aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bash_aliases b/.bash_aliases index 1be69e6..3297c74 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -43,6 +43,9 @@ alias tmux='tmux -2' # another session that forced down your tmux window size you can simply call alias takeover="tmux detach -a" +# 20140825 as there is no `pip upgrade`, this has to do +alias pip_upgrade="pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs pip install -U" + function fuck() { if killall -9 "$2"; then echo ; echo " (╯°□°)╯︵$(echo "$2"|toilet -f term -F rotate)"; echo