mirror of
https://github.com/ivabus/dotfiles
synced 2024-11-10 02:05:16 +03:00
16 lines
432 B
Bash
Executable file
16 lines
432 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
TEA_GUM="$HOME/.env/tea/charm.sh/gum/v0.9.0/bin/gum"
|
|
|
|
$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
|
|
fi
|
|
ln -s $HOME/.env/dotfiles/env/.zshrc $HOME/.zshrc
|
|
$TEA_GUM format "Linking neovim files"
|
|
rm -rf $HOME/.config/nvim
|
|
mkdir -p $HOME/.config/nvim
|
|
ln -s $HOME/.env/dotfiles/nvim $HOME/.config/nvim
|