skynet/zsh/zshrc
2023-04-06 09:09:15 -05:00

27 lines
730 B
Bash

# set up environment
export PURE_GIT_PULL=0
export GPG_TTY=$(tty)
# set zsh options and features
setopt autocd
autoload -Uz compinit && compinit
# load zsh plugins
[ -f "$HOME/.local/share/zap/zap.zsh" ] && source "$HOME/.local/share/zap/zap.zsh"
plug "mafredri/zsh-async"
plug "sindresorhus/pure"
plug "zsh-users/zsh-autosuggestions"
plug "zsh-users/zsh-syntax-highlighting"
plug "zap-zsh/exa"
plug "zap-zsh/fzf"
plug "fdellwing/zsh-bat"
# source external stuff
eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
source ~/skynet/zsh/catppuccin_mocha-zsh-syntax-highlighting.zsh
# set up directory hashes
hash -d r2=/mnt/external/rudism
hash -d api=/home/rudism/mri/cosmic/api
hash -d gql=/home/rudism/mri/cosmic/graphql-server