mirror of
https://github.com/GRFreire/dotfiles.git
synced 2026-01-10 04:19:38 +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
|
# \____|_| \_\_| |_| \___|_|_| \___| https://github.com/GRFreire
|
||||||
#
|
#
|
||||||
|
|
||||||
# Path to your oh-my-zsh installation.
|
|
||||||
export ZSH="$HOME/.oh-my-zsh"
|
|
||||||
|
|
||||||
# Plugins
|
|
||||||
plugins=()
|
|
||||||
|
|
||||||
# Themes
|
# Themes
|
||||||
ZSH_THEME="robbyrussell"
|
ZSH_THEME="robbyrussell"
|
||||||
|
|
||||||
|
# Oh my zsh
|
||||||
|
export ZSH="$HOME/.oh-my-zsh"
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
# Themes
|
### zinit plugins - start
|
||||||
ZSH_THEME="spaceship"
|
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
|
# $1 = path to export
|
||||||
try_export_path() {
|
try_export_path() {
|
||||||
@ -70,13 +72,5 @@ export FrameworkPathOverride=/etc/mono/4.5
|
|||||||
# Path for cuda
|
# Path for cuda
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/cuda/lib64
|
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
|
# Run color-scripts https://github.com/GRFreire/shell-color-scripts
|
||||||
colorscript random
|
colorscript random
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user