Target the pipup alias between osx/linux

This commit is contained in:
Jonny Barnes 2016-03-24 08:30:51 +00:00
parent c409e1bd36
commit a2f8eca28b

3
zshrc
View file

@ -91,7 +91,8 @@ alias irc="ssh lease -t '. ~/.zshrc; tmux attach -t irc'"
test "$platform" = 'linux' && alias ls="ls -F --color=always"
test "$platform" = 'osx' && alias ls="ls -FG"
alias phpunit="phpdbg -qrr vendor/bin/phpunit"
alias pipup="pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U"
test "$platform" = 'linux' && alias pipup="pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 sudo pip install -U"
test "$platform" = 'osx' && alias pipup="pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U"
alias startace="acestreamengine --client-console --upload-limit 0 --download-limit 0"
alias up="sudo pacman -Syu"