dotfiles/zsh/zshenv
2019-05-27 19:46:53 +02:00

24 lines
642 B
Bash

typeset -U path
# set PATH so it includes user's private bin if it exists
path=(~/bin ~/.local/bin $path[@])
# Active gnome-keyring
if [ -n "${DESKTOP_SESSION}" ];then
eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK
fi
# set PATH so it includes miniconda bin dir if it exists
#path=(~/miniconda3/bin $path[@])
# set PATH for nvm
export NVM_DIR="$HOME/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# environment variables
export EDITOR=nano
export XDG_CURRENT_DESKTOP=
# export DESKTOP_SESSION=