dotfiles/dot_zshrc
2020-05-07 12:43:25 -05:00

34 lines
1.1 KiB
Text

export ZSH="/home/michael/.oh-my-zsh"
ZSH_THEME="ys"
plugins=(git)
# options
setopt HIST_IGNORE_SPACE
source $ZSH/oh-my-zsh.sh
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"
export EDITOR=nvim
source $HOME/.cargo/env
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
export PATH="$HOME/.local/scripts:$HOME/.dotnet/tools:$PATH:$HOME/go/bin"
[ -f "${GHCUP_INSTALL_BASE_PREFIX:=$HOME}/.ghcup/env" ] && source "${GHCUP_INSTALL_BASE_PREFIX:=$HOME}/.ghcup/env"
[[ -s /home/michael/.autojump/etc/profile.d/autojump.sh ]] && source /home/michael/.autojump/etc/profile.d/autojump.sh
autoload -U compinit && compinit -u
# opam configuration
test -r /home/michael/.opam/opam-init/init.zsh && . /home/michael/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true
# aliases
alias rm="garbage put"
alias cm="chezmoi"
alias jrnl=" jrnl"
alias kill-gpg-agent="gpgconf --kill gpg-agent"
ced() { chezmoi edit $1 && chezmoi -v apply }
cpush() { chezmoi git add . -- -A && chezmoi git commit -- -m "update" && chezmoi git push }