Updated zshrc
This commit is contained in:
@@ -1,9 +1,14 @@
|
|||||||
|
#extend path
|
||||||
|
path=(~/bin $path)
|
||||||
|
path=(~/.local/bin $path)
|
||||||
|
path=(~/.cache/lk-tools/fzf/bin $path)
|
||||||
|
|
||||||
|
|
||||||
# Init OhMyPosh
|
# Init OhMyPosh
|
||||||
eval "$(oh-my-posh init zsh --config https://gitea.phasefinal.com/vh/dotfiles/raw/branch/master/home_config/ohmyposh/lkraven.toml)"
|
eval "$(oh-my-posh init zsh --config https://gitea.phasefinal.com/vh/dotfiles/raw/branch/master/home_config/ohmyposh/lkraven.toml)"
|
||||||
|
|
||||||
# Set ZINIT Home
|
# Set ZINIT Home
|
||||||
ZINIT_HOME="${HOME}/.config/zinit/zinit.git"
|
ZINIT_HOME="${HOME}/.config/zinit/zinit.git"
|
||||||
# ZSH_TMUX_AUTOSTART=true
|
|
||||||
|
|
||||||
# Download ZINIT
|
# Download ZINIT
|
||||||
if [ ! -f "${ZINIT_HOME}/zinit.zsh" ]; then
|
if [ ! -f "${ZINIT_HOME}/zinit.zsh" ]; then
|
||||||
@@ -11,10 +16,6 @@ if [ ! -f "${ZINIT_HOME}/zinit.zsh" ]; then
|
|||||||
git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
|
git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#extend path
|
|
||||||
path=(~/bin $path)
|
|
||||||
path=(~/.local/bin $path)
|
|
||||||
path=(~/.cache/lk-tools/fzf/bin $path)
|
|
||||||
# Load Zinit
|
# Load Zinit
|
||||||
source "${ZINIT_HOME}/zinit.zsh"
|
source "${ZINIT_HOME}/zinit.zsh"
|
||||||
|
|
||||||
@@ -23,8 +24,6 @@ zinit light zsh-users/zsh-syntax-highlighting
|
|||||||
zinit light zsh-users/zsh-completions
|
zinit light zsh-users/zsh-completions
|
||||||
zinit light zsh-users/zsh-autosuggestions
|
zinit light zsh-users/zsh-autosuggestions
|
||||||
|
|
||||||
# zinit snippet OMZP::tmux
|
|
||||||
|
|
||||||
# Load completions
|
# Load completions
|
||||||
autoload -U compinit && compinit
|
autoload -U compinit && compinit
|
||||||
zinit cdreplay -q
|
zinit cdreplay -q
|
||||||
@@ -98,4 +97,3 @@ eval $(thefuck --alias fk)
|
|||||||
|
|
||||||
zinit light Aloxaf/fzf-tab
|
zinit light Aloxaf/fzf-tab
|
||||||
|
|
||||||
# Removed Tmux auto-start block and related code
|
|
||||||
|
|||||||
Reference in New Issue
Block a user