Fix bashrc glob

This commit is contained in:
Tobias Reisinger 2022-09-13 21:51:48 +02:00
parent 8e9d15cc24
commit 59f56831ee
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -4,7 +4,7 @@ if [ ! -f "$OSH/oh-my-bash.sh" ]
then
echo "Installing oh-my-bash (it will load the wrong config on the first launch)"
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" > /dev/null
mv $HOME/.bashrc.* $HOME/.bashrc
mv -f "$HOME/.bashrc."* "$HOME/.bashrc"
exit
fi