dotfiles/tools/link_env.sh

12 lines
318 B
Bash
Raw Normal View History

2023-01-03 19:05:51 +03:00
#!/bin/sh
echo "=> Linking zshrc"
if [ -f ~/.zshrc ]; then
echo "=> Moving old zshrc to ~/.zshrc.old"
mv ~/.zshrc ~/.zshrc.old
fi
2023-01-03 20:00:56 +03:00
ln -s ~/.env/dotfiles/env/.zshrc ~/.zshrc
2023-01-03 19:05:51 +03:00
echo "=> Linking neovim files"
rm -rf ${XDG_CONFIG_HOME:-$HOME/.config}/nvim
ln -s ~/.env/dotfiles/nvim ${XDG_CONFIG_HOME:-$HOME/.config}/nvim