Add setup file

This commit is contained in:
Sebastian Bugge 2023-02-08 15:07:40 +01:00
parent 41635acb31
commit ea9d315707
No known key found for this signature in database
GPG key ID: 49D435DEDD6B2829

11
setup-zsh.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Plugins
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# Start zsh
/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME restore --staged $HOME/.zshrc
/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME restore $HOME/.zshrc
zsh