|
|
@ -1,14 +1,14 @@ |
|
|
|
#!/usr/bin/env bash |
|
|
|
|
|
|
|
DOTFILES=$HOME/.dotfiles |
|
|
|
|
|
|
|
if [[ ! -d ~/.oh-my-zsh ]]; then |
|
|
|
echo -e "\nInstall oh-my-zsh" |
|
|
|
echo "=============================" |
|
|
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" |
|
|
|
mv $HOME/.zshrc $HOME/.oh-my-zsh/zshrc.sh |
|
|
|
ln -s $DOTFILES/zsh/custom.zsh ~/.oh-my-zsh/custom/custom.zsh |
|
|
|
fi |
|
|
|
|
|
|
|
DOTFILES=$HOME/.dotfiles |
|
|
|
|
|
|
|
echo -e "\nCreating symlinks" |
|
|
|
echo "==============================" |
|
|
|
linkables=$( find -H "$DOTFILES" -maxdepth 3 -name '*.symlink' ) |
|
|
|