From 760585d420c3b3f9da5453ab7fda009f958c2a65 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 14 Mar 2025 11:36:29 +0100 Subject: [PATCH] oh-my-zsh --- oh-my-zsh.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 oh-my-zsh.sh diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh new file mode 100755 index 0000000..15c3f18 --- /dev/null +++ b/oh-my-zsh.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +sed -i -e 's/plugins=(git)/plugins=(git zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting zsh-autocomplete archlinux)/' ~/.zshrc +sed -i -e 's/ZSH_THEME="robbyrussell"/ZSH_THEME="agnoster"/' ~/.zshrc + +ZSH_CUSTOM=~/.oh-my-zsh/custom + +git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions +git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting +git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting +git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete