tidying up
This commit is contained in:
parent
223bf0a6e8
commit
b99bddc359
1 changed files with 6 additions and 1 deletions
|
@ -1,18 +1,23 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo Installing Dependencies
|
||||
if [ -f /etc/rocky-release ]; then
|
||||
sudo dnf install zsh git curl
|
||||
elif [ -f /etc/arch-release ]; then
|
||||
sudo pacman -S zsh git curl
|
||||
fi
|
||||
|
||||
echo Installing Oh My ZSH
|
||||
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
|
||||
echo Switching Theme
|
||||
sed -i 's/ZSH_THEME=.*/ZSH_THEME="bureau"/' ~/.zshrc
|
||||
|
||||
echo Enabling Plugins
|
||||
sed -i 's/plugins=(git)/plugins=(\ngit\nzsh-autosuggestions\n)/' ~/.zshrc
|
||||
|
||||
echo Installing AutoSuggestions
|
||||
zsh -c "git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions"
|
||||
|
||||
|
||||
echo Running Zsh
|
||||
zsh
|
||||
|
|
Loading…
Reference in a new issue