mirror of
https://github.com/GRFreire/dotfiles.git
synced 2026-01-09 20:19:37 +00:00
zsh: group zinit and oh-my-zsh at the start
This commit is contained in:
parent
1f795d21cf
commit
c2d28bae16
24
.zshrc
24
.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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user