config/install.sh
2025-11-26 17:51:02 +01:00

17 lines
403 B
Bash
Executable File

#/usr/bin/env bash
# If we're not already exec'd, restart ourselves with exec
if [ -z "$__SELF_EXEC" ]; then
export __SELF_EXEC=1
exec "$0" "$@"
fi
rm -rf ~/.config/fish
rm -rf ~/.config/nvim
mv fish ~/.config/
mv nvim ~/.config/
cd ..
rm -rf config
chsh -s /usr/bin/fish "$USER"
sleep 1
echo "Fish default shell initiated. Fish config initiated. Neovim config initiated. Opinion accepted"
exit