Fix oh-my-bash installation

This commit is contained in:
mr-vercetti 2022-09-02 21:18:35 +02:00
parent 7f9a815bf9
commit 638f75c4af
2 changed files with 3 additions and 5 deletions

View File

@ -1,12 +1,10 @@
# mr-vercetti/dotfiles
My simple dotfiles for bash and vim.
## Setup
### WSL
1. Install a font which supports [Powerline](https://github.com/powerline/powerline), I recommend [DroidSans Mono for Powerline](https://github.com/powerline/fonts/tree/master/DroidSansMono), but there are other cool ones too.
2. Run `./setup.sh`.
2. Run `./setup.sh && source ~/.bashrc`.
### Native Linux
1. Run `./setup.sh -f`.
1. Run `./setup.sh -f && source ~/.bashrc`.

View File

@ -40,7 +40,7 @@ if [[ $install_fonts == "yes" ]]; then
fi
# Install oh-my-bash
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"
git clone https://github.com/ohmybash/oh-my-bash.git ${home_dir}/.oh-my-bash
# Create backup of current dotfiles, then create symlinks for new ones
mkdir -p $old_dotfiles_dir