1
0
Fork 0
.dotfiles/.zshrc

33 lines
1.1 KiB
Bash
Raw Normal View History

export SUDO_PROMPT="$(tput bold setaf 7)[sudo]$(tput sgr0) $(tput setaf 6)password for$(tput sgr0) $(tput setaf 5)%p$(tput sgr0): "
2024-03-05 12:01:06 +00:00
export ZSH="$HOME/.oh-my-zsh"
2024-06-27 15:56:21 +01:00
plugins=(git sudo rsync zsh-syntax-highlighting zsh-autosuggestions)
2024-03-05 12:01:06 +00:00
ZSH_THEME="agnoster"
HYPHEN_INSENSITIVE="true"
2024-03-05 18:18:38 +00:00
zstyle ':omz:update' mode auto # update automatically without asking
2024-03-05 12:01:06 +00:00
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true"
HIST_STAMPS="dd.mm.yyyy"
source $ZSH/oh-my-zsh.sh
export LANG=en_GB.UTF-8
2024-06-15 02:19:22 +01:00
export EDITOR=vim
2024-03-05 12:01:06 +00:00
export ARCHFLAGS="-arch x86_64"
export GPG_TTY=$(tty)
2024-06-27 15:56:21 +01:00
if [[ -d "$HOME/.local/bin" ]]; then
export PATH="$HOME/.local/bin:$PATH"
fi;
if [[ -d "$HOME/.cargo/bin" ]]; then
export PATH="$HOME/.cargo/bin:$PATH"
fi;
if [ -f $HOME/.pyenv/bin/pyenv ]; then
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PYENV_ROOT/shims:$PATH"
eval "$(pyenv init -)"
plugins+=(pyenv)
fi;
2024-08-12 21:10:10 +01:00
if [[ -d "$HOME/.nvm" ]];
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
fi;