From 54a418e6be162076a6583407bce042a214f2d6bd Mon Sep 17 00:00:00 2001 From: Eduard Veit Date: Sun, 27 Mar 2022 14:24:44 +0200 Subject: [PATCH] feat(zsh): add setup --- zsh-setup.sh | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 zsh-setup.sh diff --git a/zsh-setup.sh b/zsh-setup.sh new file mode 100644 index 0000000..009c87c --- /dev/null +++ b/zsh-setup.sh @@ -0,0 +1,33 @@ +#!/usr/bin/env bash + +mkdir --parents ~/.zsh/antigen +curl -L# git.io/antigen > ~/.zsh/antigen/antigen.zsh + +cat << 'end_of_content' >> ~/.zshrc +source ~/.zsh/antigen/antigen.zsh + +# Load the oh-my-zsh's library. +antigen use oh-my-zsh + +# Bundles from the default repo (robbyrussell's oh-my-zsh). +antigen bundle git +antigen bundle heroku +antigen bundle pip +antigen bundle lein +antigen bundle command-not-found + +# Syntax highlighting bundle. +antigen bundle zsh-users/zsh-syntax-highlighting +antigen bundle zsh-users/zsh-autosuggestions +antigen bundle zsh-users/zsh-history-substring-search +antigen bundle zsh-users/zsh-completions + +# Load the theme. +antigen theme robbyrussell + +# Tell Antigen that you're done. +antigen apply +end_of_content + +chsh --shell /bin/zsh +exec /usr/bin/env zsh \ No newline at end of file