From c2d28bae16c51a9385d3410710e4e3739f4b77d5 Mon Sep 17 00:00:00 2001 From: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Date: Tue, 22 Jun 2021 18:49:00 -0300 Subject: [PATCH] zsh: group zinit and oh-my-zsh at the start --- .zshrc | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/.zshrc b/.zshrc index b9fd7cf..d6d24cd 100644 --- a/.zshrc +++ b/.zshrc @@ -5,19 +5,21 @@ # \____|_| \_\_| |_| \___|_|_| \___| https://github.com/GRFreire # -# Path to your oh-my-zsh installation. -export ZSH="$HOME/.oh-my-zsh" - -# Plugins -plugins=() # Themes ZSH_THEME="robbyrussell" +# Oh my zsh +export ZSH="$HOME/.oh-my-zsh" source $ZSH/oh-my-zsh.sh -# Themes -ZSH_THEME="spaceship" +### zinit plugins - start +source $HOME/.zinit/bin/zinit.zsh + +zinit light zdharma/fast-syntax-highlighting +zinit light zsh-users/zsh-autosuggestions +zinit light zsh-users/zsh-completions +### zinit plugins - end # $1 = path to export try_export_path() { @@ -70,13 +72,5 @@ export FrameworkPathOverride=/etc/mono/4.5 # Path for cuda export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/cuda/lib64 -### zinit plugins - start -source $HOME/.zinit/bin/zinit.zsh - -zinit light zdharma/fast-syntax-highlighting -zinit light zsh-users/zsh-autosuggestions -zinit light zsh-users/zsh-completions -### zinit plugins - end - # Run color-scripts https://github.com/GRFreire/shell-color-scripts colorscript random