2023-01-03 19:05:51 +03:00
|
|
|
#!/bin/sh
|
2023-02-05 12:53:53 +03:00
|
|
|
set -e
|
2023-06-25 15:32:30 +03:00
|
|
|
|
2023-07-05 14:32:17 +03:00
|
|
|
TEA_GUM=$HOME/.env/tea/charm.sh/gum/v\*/bin/gum
|
2023-06-25 15:32:30 +03:00
|
|
|
|
2023-07-05 11:59:24 +03:00
|
|
|
$TEA_GUM format "Linking \`.zshrc\`"
|
|
|
|
if [ -f $HOME/.zshrc ]; then
|
|
|
|
$TEA_GUM format "Moved old \`.zshrc\` to \`$HOME/.zshrc.old\`"
|
|
|
|
mv $HOME/.zshrc $HOME/.zshrc.old
|
2023-01-03 19:05:51 +03:00
|
|
|
fi
|
2023-07-05 11:59:24 +03:00
|
|
|
ln -s $HOME/.env/dotfiles/env/.zshrc $HOME/.zshrc
|
2023-07-05 12:15:37 +03:00
|
|
|
$TEA_GUM format "Linking neovim files"
|
2023-07-05 11:59:24 +03:00
|
|
|
rm -rf $HOME/.config/nvim
|
|
|
|
mkdir -p $HOME/.config/nvim
|
|
|
|
ln -s $HOME/.env/dotfiles/nvim $HOME/.config/nvim
|