load OhMyPosh first for a Faster feeling shell
This commit is contained in:
parent
bbfdfb16ec
commit
a4b6cc1b01
1 changed files with 7 additions and 7 deletions
14
.zshrc
14
.zshrc
|
@ -1,3 +1,10 @@
|
||||||
|
# Oh My Posh
|
||||||
|
#########################################################
|
||||||
|
export PATH=$PATH:"$HOME/.local/bin"
|
||||||
|
OMP_EXECUTABLE="${XDG_DATA_HOME:-${HOME}/.local}/bin/oh-my-posh"
|
||||||
|
[ ! -f $OMP_EXECUTABLE ] && curl -s https://ohmyposh.dev/install.sh | bash -s
|
||||||
|
eval "$(oh-my-posh init zsh --config ~/.config/omp.toml)"
|
||||||
|
|
||||||
# Zinit
|
# Zinit
|
||||||
#########################################################
|
#########################################################
|
||||||
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
|
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
|
||||||
|
@ -14,13 +21,6 @@ zinit light zdharma-continuum/fast-syntax-highlighting
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
|
|
||||||
# Oh My Posh
|
|
||||||
#########################################################
|
|
||||||
export PATH=$PATH:"$HOME/.local/bin"
|
|
||||||
OMP_EXECUTABLE="${XDG_DATA_HOME:-${HOME}/.local}/bin/oh-my-posh"
|
|
||||||
[ ! -f $OMP_EXECUTABLE ] && curl -s https://ohmyposh.dev/install.sh | bash -s
|
|
||||||
eval "$(oh-my-posh init zsh --config ~/.config/omp.toml)"
|
|
||||||
|
|
||||||
# Basic ZSH
|
# Basic ZSH
|
||||||
#########################################################
|
#########################################################
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue