47 lines
1.4 KiB
Bash
47 lines
1.4 KiB
Bash
source $HOME/.local/scripts/zsh/zsh-prelude.zsh
|
|
source $HOME/.local/scripts/zsh/check-update.zsh
|
|
|
|
export LANG=en_US.UTF-8
|
|
export ZSH="$HOME/.oh-my-zsh"
|
|
ZSH_THEME="ys"
|
|
|
|
plugins=(git zsh-syntax-highlighting)
|
|
|
|
# options
|
|
setopt HIST_IGNORE_SPACE
|
|
|
|
export DISABLE_AUTO_UPDATE="true"
|
|
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
|
|
export MAILDIR=$HOME/Mail
|
|
|
|
source $HOME/.cargo/env
|
|
source $HOME/.ghcup/env
|
|
|
|
export PATH="$HOME/.local/bin:$HOME/.local/scripts:$HOME/.dotnet/tools:$PATH:$HOME/go/bin:$HOME/.idris2/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
|
|
|
|
function loadnpm() {
|
|
export NVM_DIR="$HOME/.nvm"
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
}
|
|
|
|
# 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
|
|
|
|
source $HOME/.local/scripts/zsh/aliases.zsh
|
|
source $HOME/.zsh/extras/*.zsh
|
|
|
|
# vim: set filetype=zsh:
|