dotfiles/dot_zshrc

42 lines
1.2 KiB
Text
Raw Normal View History

2020-06-15 08:54:40 +00:00
source $HOME/.local/scripts/zsh/zsh-prelude.zsh
2020-06-15 09:38:18 +00:00
source $HOME/.local/scripts/zsh/check-update.zsh
2020-06-15 08:54:40 +00:00
2020-06-15 08:18:21 +00:00
export LANG=en_US.UTF-8
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
2020-06-08 16:11:42 +00:00
2020-03-25 08:19:49 +00:00
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"
2020-05-07 17:43:25 +00:00
[[ -s /home/michael/.autojump/etc/profile.d/autojump.sh ]] && source /home/michael/.autojump/etc/profile.d/autojump.sh
autoload -U compinit && compinit -u
2020-03-25 08:19:49 +00:00
# opam configuration
test -r /home/michael/.opam/opam-init/init.zsh && . /home/michael/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true
2020-06-08 16:11:42 +00:00
function loadnpm() {
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
}
2020-05-09 06:42:34 +00:00
# ssh
unset SSH_AGENT_PID
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi
2020-06-15 08:54:40 +00:00
source $HOME/.local/scripts/zsh/aliases.zsh