From 5aa92db23110cecdd35046eedbdd44cfdc491c12 Mon Sep 17 00:00:00 2001 From: Ghasem Naddaf Date: Wed, 14 Apr 2021 09:23:46 -0700 Subject: [PATCH 1/2] Update .zshrc --- dotfiles/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 71ce0b62c..886bfb986 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -71,7 +71,7 @@ DISABLE_UNTRACKED_FILES_DIRTY="false" # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. #plugins=(git zsh-git-prompt zsh-completions fasd systemd zsh-syntax-highlighting) -plugins=(git git-extras fast zsh-syntax-highlighting docker docker-compose docker-machine helm) +plugins=(git git-extras fast-syntax-highlighting docker docker-compose docker-machine helm) # The following lines were added by compinstall From eeb49d7fe05c189c7ee788b95415a3365cc3e0b0 Mon Sep 17 00:00:00 2001 From: Ghasem Naddaf Date: Wed, 14 Apr 2021 09:25:53 -0700 Subject: [PATCH 2/2] Update install.sh --- tools/install.sh | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/tools/install.sh b/tools/install.sh index 0a2dee12d..470ff541c 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -244,6 +244,11 @@ EOF echo } +dl_custom_plugins() { + git clone https://github.com/zdharma/fast-syntax-highlighting.git \ + ${ZSH}/custom/plugins/fast-syntax-highlighting +} + main() { # Run as unattended if stdin is not a tty if [ ! -t 0 ]; then @@ -293,14 +298,16 @@ EOF setup_ohmyzsh setup_zshrc setup_shell + dl_custom_plugins printf %s "$GREEN" cat <<'EOF' - __ __ - ____ / /_ ____ ___ __ __ ____ _____/ /_ - / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ -/ /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / -\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ + + ___________________***_____________________ + ____ / /_ ____ ___ __ __ ____ _____/ /_ +--- / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ --- +--- / /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / --- + \____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ /____/ ....is now installed!