#!/usr/bin/env bash

# Downloads oh-my-zsh https://github.com/robbyrussell/oh-my-zsh
#   confirmed as of March 2017
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

# Manual workaronud - it downloads some custom plugins and
#   add them in ~/.oh-my-zsh/ directory
git clone git://github.com/zsh-users/zsh-autosuggestions "$ZSH_CUSTOM"/plugins/zsh-autosuggestions

#!/usr/bin/env bash

# Downloads oh-my-zsh https://github.com/robbyrussell/oh-my-zsh

# The below shell script assumes you are running interactively,
#   which is not ideal to wrap it with other scripts
#sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
chsh -s "$(grep /zsh$ /etc/shells | tail -1)"

# Manual workaronud - it downloads some custom plugins and
#   add them in ~/.oh-my-zsh/ directory
git clone git://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions

Update zsh installation to manual installation rather than cURL
Update zsh installation to manual installation rather than cURL
