export ASDF_DATA_DIR=$HOME/.local/share/asdf-vm export RUSTUP_HOME=$HOME/.local/lib/rustup export CARGO_HOME=$HOME/.local/lib/cargo PATH_pyenv=$HOME/.pyenv/bin:$HOME/.pyenv/shims:/opt/pyenv/pyenv-virtualenv/shims PATH_asdf=$ASDF_DATA_DIR/shims:/opt/asdf-vm/bin PATH_node=$HOME/.opt/npm/bin PATH_java=/usr/lib/jvm/default/bin PATH_perl=/usr/bin/vendor_perl:/usr/bin/core_perl PATH_system=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PATH_user=$HOME/.local/bin PATH_wincmake=/opt/msvcmake/bin:/opt/msvc/bin/x64 PATH_cargo=$CARGO_HOME/bin cdpath=(~ ~/src) export PATH=.:$PATH_node:$PATH_cargo:$PATH_pyenv:$PATH_java:$PATH_user:$PATH_system # Function to run a command with only the "safe" system PATH element function safeexec { env PATH=$PATH_system "$@" } # Set an alias with a trailing space so that we can run other aliases # using this function alias safeexec="safeexec " # Function to run a command with only the user PATH element, forcing # the use of user-installed binaries function userexec { env PATH=$PATH_user "$@" } export LS_COLORS='di=34;40:ln=1;35;1:so=1;33;1:pi=32;1;40:ex=1;32;1:bd=33;1;40:cd=1;33;1;40:su=1;31;1:sg=1;31;1;40:tw=1;35;1;40:ow=1;31;1;40' export GPG_TTY=$(tty) gpg-connect-agent updatestartuptty /bye &>/dev/null export EDITOR="emacsclient -t" SAVEHIST=10000 HISTSIZE=$SAVEHIST HISTFILE="${HOME}/.zsh_history" export PAGER=less export SUDO_PROMPT="$fg[red]Authorization required: $fg[default]"