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