dotfiles/.zshrc

42 lines
1 KiB
Bash

if [ -f $HOME/.zsh/term.zsh ]; then
source $HOME/.zsh/term.zsh
fi
export ZSH="$HOME/.zsh/oh-my-zsh/"
source $ZSH/oh-my-zsh.sh
# Set up the PATH variable
setopt null_glob
for file in $HOME/.zsh/path/*.zsh; do
source $file
done
export PATH
unsetopt null_glob
HISTFILE="$HOME/.zsh/history"
export GPG_TTY=$TTY
# Case sensitive completion (with case insensitive fallback)
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
export EDITOR=hx
if [ -f $HOME/.zsh/no_rm.zsh ]; then
source $HOME/.zsh/no_rm.zsh
fi
export GEM_HOME=$HOME/.gem
plugins=(git)
umask 22
PATH="/home/gnarwhal/perl5/bin${PATH:+:${PATH}}"; export PATH;
PERL5LIB="/home/gnarwhal/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
PERL_LOCAL_LIB_ROOT="/home/gnarwhal/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
PERL_MB_OPT="--install_base \"/home/gnarwhal/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=/home/gnarwhal/perl5"; export PERL_MM_OPT;
eval "$(starship init zsh)"