If linux install zsh first

This commit is contained in:
Henrik Lissner 2013-03-25 20:31:23 -04:00
parent 7e53757247
commit 5b802c638e

View file

@ -3,6 +3,11 @@
source ~/.dotfiles/zsh/functions
if [ ! -d ~/.oh-my-zsh ]; then
if is_linux; then
# Try to install zsh
pkg-install zsh
fi
# https://github.com/robbyrussell/oh-my-zsh
echo-g "==> ZSH: Installing oh-my-zsh"
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh