1
0
Fork 0

Enable zioxide configuration

This commit is contained in:
Nexus 2024-03-06 14:01:55 +00:00
parent 47daf11393
commit 8b6bea2fa5
Signed by: nex
GPG key ID: 0FA334385D0B689F

11
.zshrc
View file

@ -1,8 +1,17 @@
export SUDO_PROMPT="$(tput bold setaf 7)[sudo]$(tput sgr0) $(tput setaf 6)password for$(tput sgr0) $(tput setaf 5)%p$(tput sgr0): " export SUDO_PROMPT="$(tput bold setaf 7)[sudo]$(tput sgr0) $(tput setaf 6)password for$(tput sgr0) $(tput setaf 5)%p$(tput sgr0): "
plugins=(git sudo rsync zsh-syntax-highlighting zsh-autosuggestions)
if [ -f $HOME/.pyenv/bin/pyenv ]; then
export PYENV_ROOT="$HOME/.pyenv" export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH" export PATH="$PYENV_ROOT/bin:$PATH"
export PATH="/home/nex/.local/bin:$PATH" export PATH="/home/nex/.local/bin:$PATH"
eval "$(pyenv init -)" eval "$(pyenv init -)"
plugins+=(pyenv)
fi;
if [ -f /usr/bin/zoxide ] || [ -f /usr/local/bin/zoxide ]; then
eval "$(zoxide init zsh)"
fi;
export ZSH="$HOME/.oh-my-zsh" export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="agnoster" ZSH_THEME="agnoster"
HYPHEN_INSENSITIVE="true" HYPHEN_INSENSITIVE="true"
@ -10,8 +19,8 @@ zstyle ':omz:update' mode auto # update automatically without asking
ENABLE_CORRECTION="true" ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true" COMPLETION_WAITING_DOTS="true"
HIST_STAMPS="dd.mm.yyyy" HIST_STAMPS="dd.mm.yyyy"
plugins=(git sudo rsync zsh-syntax-highlighting zsh-autosuggestions command-not-found )
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
export LANG=en_GB.UTF-8 export LANG=en_GB.UTF-8
export EDITOR=nvim export EDITOR=nvim
export ARCHFLAGS="-arch x86_64" export ARCHFLAGS="-arch x86_64"