helm/install/zsh

21 lines
527 B
Plaintext
Raw Normal View History

2013-03-16 21:16:00 -07:00
#!/bin/bash
if [ ! -d ~/.oh-my-zsh ]; then
# https://github.com/robbyrussell/oh-my-zsh
echo-g "==> ZSH: Installing oh-my-zsh"
2013-03-16 21:16:00 -07:00
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
# Set new shell
echo-g "==> ZSH: Changing shell"
2013-03-16 21:16:00 -07:00
chsh -s /bin/zsh
fi
# Create links
echo-g "==> ZSH: Setting up symlinks"
do_link ~/.dotfiles/zsh ~/.zsh
do_link ~/.dotfiles/zshrc ~/.zshrc
do_link ~/.dotfiles/zshenv ~/.zshenv
do_link ~/.dotfiles/bashrc ~/.bashrc
2013-03-16 21:16:00 -07:00
echo-g "==> ZSH: DONE!"