Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 29 lines (22 sloc) 528 Bytes
#!/bin/bash
if ! which rcup >/dev/null; then
echo "Fatal: rcm is not installed on this machine."
exit 1
fi
os_type=$(uname -s)
# Remove oh-my-zsh
rm -rf ~/.oh-my-zsh
if [[ -d ~/.dotfiles ]]; then
cd ~/.dotfiles
git pull
else
git clone https://github.com/geewiz/dotfiles.git ~/.dotfiles
fi
if [[ -d ~/.freistil-dotfiles ]]; then
cd ~/.freistil-dotfiles
git pull
else
git clone https://github.com/freistil/dotfiles.git ~/.freistil-dotfiles
fi
rcup -f -t $os_type -d ~/.dotfiles -d ~/.freistil-dotfiles
reset
You can’t perform that action at this time.