From ea9d3157070289d3b66c8604bfc8ed1eae800e1e Mon Sep 17 00:00:00 2001 From: Sebastian Bugge Date: Wed, 8 Feb 2023 15:07:40 +0100 Subject: [PATCH] Add setup file --- setup-zsh.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 setup-zsh.sh diff --git a/setup-zsh.sh b/setup-zsh.sh new file mode 100755 index 0000000..81e3fb9 --- /dev/null +++ b/setup-zsh.sh @@ -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 +