#
# ~/.zshrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

bindkey "^A" beginning-of-line
bindkey "^E" end-of-line
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word
bindkey "^[[3~" delete-char

alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'

eval "$(starship init zsh)"

export PATH=~/.local/bin:$PATH
export SSH_AUTH_SOCK=/home/pmcc/.bitwarden-ssh-agent.sock

for file in ~/.config/zsh/*.zsh; do
  [ -r "$file" ] && source "$file"
done

. "$HOME/.local/share/../bin/env"
