dotfiles/dot_zshrc

31 lines
962 B
Text
Raw Normal View History

2020-03-25 08:19:49 +00:00
export ZSH="/home/michael/.oh-my-zsh"
ZSH_THEME="ys"
plugins=(git)
2020-04-09 04:18:20 +00:00
# options
setopt HIST_IGNORE_SPACE
2020-03-25 08:19:49 +00:00
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"
# 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"
2020-04-09 04:18:20 +00:00
alias jrnl=" jrnl"
2020-05-07 02:21:37 +00:00
alias kill-gpg-agent="gpgconf --kill gpg-agent"
2020-05-06 22:01:14 +00:00
2020-05-07 02:34:07 +00:00
ced() { chezmoi edit $1 && chezmoi -v apply }
2020-05-06 22:01:14 +00:00
cpush() { chezmoi git add . -- -A && chezmoi git commit -- -m "update" && chezmoi git push }