2022-07-04 16:06:23 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# script that (re)links all dotfiles during the installation or upgrade.
|
|
|
|
# do not run manually
|
|
|
|
|
|
|
|
GREEN="\033[32m"
|
2022-07-05 08:15:27 +03:00
|
|
|
CLEAR_COLOR="\033[0m"
|
2022-07-04 16:06:23 +03:00
|
|
|
|
|
|
|
mkdir -p $HOME/.config/nvim >/dev/null 2>&1
|
|
|
|
rm $HOME/.zshrc $HOME/.config/nvim/init.vim >/dev/null 2>&1
|
2022-07-09 17:46:01 +03:00
|
|
|
ln -s $HOME/.dotfiles/configs/zshrc $HOME/.zshrc
|
|
|
|
echo "${GREEN}.zshrc linked: $CLEAR_COLOR$HOME/.dotfiles/configs/zshrc $GREEN-> $CLEAR_COLOR$HOME/.zshrc"
|
2022-07-04 16:06:23 +03:00
|
|
|
ln -s $HOME/.dotfiles/nvim.vim $HOME/.config/nvim/init.vim
|
2022-07-09 17:46:01 +03:00
|
|
|
echo "${GREEN}neovim config linked: $CLEAR_COLOR$HOME/.dotfiles/configs/nvim.vim $GREEN-> $CLEAR_COLOR$HOME/.config/nvim/init.vim"
|