39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
# Start configuration added by Zim install {{{
|
|
#
|
|
# User configuration sourced by all invocations of the shell
|
|
#
|
|
|
|
# Define Zim location
|
|
: ${ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim}
|
|
# }}} End configuration added by Zim install
|
|
|
|
# >>> define PATH variable as an array
|
|
typeset -U path
|
|
# <<< define PATH variable as an array
|
|
|
|
# >>> set PATH so it includes user's private bin if it exists >>>
|
|
path=(~/bin ~/.local/bin $path[@])
|
|
# <<< set PATH so it includes user's private bin if it exists <<<
|
|
|
|
# >>> environment variables >>>
|
|
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
|
|
|
|
export GEM_HOME="$(${HOME}/.asdf/shims/gem env user_gemhome)"
|
|
export PATH="$PATH:$GEM_HOME/bin"
|
|
export PATH="$PATH:$(go env GOBIN):$(go env GOPATH)/bin"
|
|
|
|
export BROWSER=qutebrowser
|
|
export EDITOR=$([[ $(command -v lvim) ]] && echo lvim || echo vim)
|
|
export TERMINAL=alacritty
|
|
# export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'
|
|
|
|
export PASSWORD_STORE_DIR="${HOME}/.password-store"
|
|
export PASSWORD_STORE_ENABLE_EXTENSIONS=True
|
|
export ZK_NOTEBOOK_DIR="${HOME}/Notes"
|
|
export OPENAI_API_KEY="$(pass _api_keys/openai_perso-1 2>/dev/null || echo ERROR)"
|
|
export IPINFO_API_KEY="$(pass _api_keys/ipinfo_perso-0 2>/dev/null || echo ERROR)"
|
|
# <<< environment variables <<<
|
|
|
|
# }}} End personnal configuration directives
|
|
|