mirror of
https://github.com/ivabus/dotfiles
synced 2024-11-21 23:55:07 +03:00
final fix
This commit is contained in:
parent
e8b8de6905
commit
09c2711686
2 changed files with 3 additions and 3 deletions
|
@ -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\`"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue