2018-12-23 11:20:18 -05:00
|
|
|
#
|
|
|
|
# User configuration sourced by interactive shells
|
|
|
|
#
|
|
|
|
typeset -U PATH
|
2018-12-23 16:46:15 -05:00
|
|
|
PATH="$HOME/bin:$PATH"
|
2018-12-23 11:20:18 -05:00
|
|
|
export PATH
|
|
|
|
|
|
|
|
# Change default zim location
|
|
|
|
export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim
|
|
|
|
|
|
|
|
# Start zim
|
|
|
|
[[ -s ${ZIM_HOME}/init.zsh ]] && source ${ZIM_HOME}/init.zsh
|
|
|
|
|
|
|
|
# Fix the ESC+Backspace
|
2019-01-06 18:10:12 -05:00
|
|
|
#bindkey -e
|
|
|
|
#bindkey -e "^[[1;5C" forward-word
|
|
|
|
#bindkey -e "^[[1;5D" backward-word
|
2018-12-23 11:20:18 -05:00
|
|
|
|
|
|
|
# Set GPG TTY
|
|
|
|
#export GPG_TTY=$(tty)
|
|
|
|
|
|
|
|
# Refresh gpg-agent tty in case user switches into an X session
|
|
|
|
#gpg-connect-agent updatestartuptty /bye >/dev/null
|
|
|
|
|
|
|
|
# Update SSH Agent Socket
|
|
|
|
#unset SSH_AGENT_PID
|
|
|
|
#if [[ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]]; then
|
|
|
|
# export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
|
|
|
#fi
|
|
|
|
|
|
|
|
# Include local functions/aliases/environments:
|
|
|
|
while read f
|
|
|
|
do
|
|
|
|
source "$f"
|
|
|
|
done < <(find "${HOME}/.local/dotfiles/" -type f -name '*.zsh')
|
|
|
|
|