my-yadm/.zshrc

40 lines
877 B
Bash

#
# User configuration sourced by interactive shells
#
typeset -U PATH
PATH="$HOME/bin:$PATH"
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
#bindkey -e
#bindkey -e "^[[1;5C" forward-word
#bindkey -e "^[[1;5D" backward-word
# 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')
# Disable Ctrl+S Scroll-Locking
stty -ixon