2021-02-19 20:34:24 +00:00
|
|
|
# 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
|
|
|
|
|
2024-01-05 16:50:12 +00:00
|
|
|
# >>> define PATH variable as an array
|
2021-02-19 20:34:24 +00:00
|
|
|
typeset -U path
|
2024-01-05 16:50:12 +00:00
|
|
|
# <<< define PATH variable as an array
|
2021-02-19 20:34:24 +00:00
|
|
|
|
|
|
|
# >>> 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 >>>
|
2021-10-31 23:05:07 +00:00
|
|
|
export BROWSER=qutebrowser
|
2023-08-08 08:39:00 +00:00
|
|
|
export EDITOR=$([[ $(command -v lvim) ]] && echo lvim || echo vim)
|
2023-04-26 14:29:30 +00:00
|
|
|
export TERMINAL=alacritty
|
2023-04-04 09:38:34 +00:00
|
|
|
# export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'
|
2023-04-24 17:47:04 +00:00
|
|
|
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
|
|
|
|
export PATH="$PATH:$GEM_HOME/bin"
|
2021-02-19 20:34:24 +00:00
|
|
|
export MYVIMRC="${HOME}/.vimrc"
|
|
|
|
export PASSWORD_STORE_DIR="${HOME}/Private/.password-store"
|
|
|
|
export PASSWORD_STORE_ENABLE_EXTENSIONS=True
|
2021-05-05 19:54:21 +00:00
|
|
|
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
|
2023-08-05 13:52:16 +00:00
|
|
|
export ZK_NOTEBOOK_DIR="${HOME}/Notes"
|
2024-01-05 16:50:12 +00:00
|
|
|
export OPENAI_API_KEY="$(pass _api_keys/openai_perso-1)"
|
2024-01-05 17:03:57 +00:00
|
|
|
export IPINFO_API_KEY="$(pass _api_keys/ipinfo_perso-0)"
|
2021-10-04 19:04:08 +00:00
|
|
|
# <<< environment variables <<<
|
|
|
|
|
2021-02-19 20:34:24 +00:00
|
|
|
# }}} End personnal configuration directives
|
|
|
|
|