|
@ -6,7 +6,7 @@ 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)" |
|
|
ln -s $DOTFILES/zsh/{custom,aliases}.zsh ~/.oh-my-zsh/custom/{custom,aliases}.zsh |
|
|
|
|
|
|
|
|
ln -s $DOTFILES/zsh/{custom,aliases}.zsh ~/.oh-my-zsh/custom/ |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
echo -e "\nCreating symlinks" |
|
|
echo -e "\nCreating symlinks" |
|
@ -23,10 +23,12 @@ for file in $linkables ; do |
|
|
done |
|
|
done |
|
|
|
|
|
|
|
|
# Vim folders |
|
|
# Vim folders |
|
|
echo -e "\eLinking vim folders" |
|
|
|
|
|
|
|
|
echo -e "\eLinking vim files and folders" |
|
|
|
|
|
ln "$DOTFILES/init.vim" "$HOME/.config/nvim" |
|
|
linkables=$( find vim -mindepth 1 -type d -exec basename {} \; ) |
|
|
linkables=$( find vim -mindepth 1 -type d -exec basename {} \; ) |
|
|
|
|
|
mkdir ~/.config/nvim |
|
|
for folder in $linkables ; do |
|
|
for folder in $linkables ; do |
|
|
target="$HOME/.vim/$folder" |
|
|
|
|
|
|
|
|
target="$HOME/.config/nvim/$folder" |
|
|
if [ -e $target ]; then |
|
|
if [ -e $target ]; then |
|
|
echo "~${target#$HOME/.vim} already exists... Skipping." |
|
|
echo "~${target#$HOME/.vim} already exists... Skipping." |
|
|
else |
|
|
else |
|
|