final fix

This commit is contained in:
Ivan Bushchik 2023-07-05 12:15:37 +03:00
parent e8b8de6905
commit 09c2711686
No known key found for this signature in database
GPG key ID: 9F6DDABE11A2674D
2 changed files with 3 additions and 3 deletions

View file

@ -61,7 +61,7 @@ if ! $TEA_GUM confirm "Do you want to continue"; then
exit 1 exit 1
fi fi
rm -rf $HOME/.env &> /dev/null rm -rf $HOME/.env > /dev/null 2>&1
$TEA_GUM format "Installing env to \`$HOME/.env\`" $TEA_GUM format "Installing env to \`$HOME/.env\`"
mkdir $HOME/.env $HOME/.env/bin > /dev/null 2>&1 mkdir $HOME/.env $HOME/.env/bin > /dev/null 2>&1
@ -72,7 +72,7 @@ PATH=$PATH
$TEA_GUM format "Installing \`tea\` to \`$TEA_PREFIX\`" $TEA_GUM format "Installing \`tea\` to \`$TEA_PREFIX\`"
curl https://tea.xyz -o /tmp/tea 2&1> /dev/null curl https://tea.xyz -o /tmp/tea > /dev/null 2>&1
sh /tmp/tea --yes --prefix $TEA_PREFIX sh /tmp/tea --yes --prefix $TEA_PREFIX
$TEA_GUM format "Installing \`zsh\`" $TEA_GUM format "Installing \`zsh\`"

View file

@ -9,7 +9,7 @@ if [ -f $HOME/.zshrc ]; then
mv $HOME/.zshrc $HOME/.zshrc.old mv $HOME/.zshrc $HOME/.zshrc.old
fi fi
ln -s $HOME/.env/dotfiles/env/.zshrc $HOME/.zshrc ln -s $HOME/.env/dotfiles/env/.zshrc $HOME/.zshrc
$TEA_GUM "Linking neovim files" $TEA_GUM format "Linking neovim files"
rm -rf $HOME/.config/nvim rm -rf $HOME/.config/nvim
mkdir -p $HOME/.config/nvim mkdir -p $HOME/.config/nvim
ln -s $HOME/.env/dotfiles/nvim $HOME/.config/nvim ln -s $HOME/.env/dotfiles/nvim $HOME/.config/nvim