2024-11-23 23:52:10 +00:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
#
|
|
|
|
# ENVIRONMENT VARIABLES ONLY
|
|
|
|
|
|
|
|
# Cf. https://wiki.archlinux.org/title/XDG_Base_Directory
|
|
|
|
export XDG_CONFIG_HOME=$HOME/.config
|
|
|
|
|
|
|
|
# Default editor
|
|
|
|
export EDITOR='nvim'
|
|
|
|
|
|
|
|
# ZSH
|
|
|
|
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
|
|
|
export HISTFILE="$ZDOTDIR/.zhistory" # History filepath
|
|
|
|
export HISTSIZE=10000 # Maximum events for internal history
|
|
|
|
export SAVEHIST=10000 # Maximum events in history file
|
|
|
|
|
|
|
|
# PATH
|
2019-10-03 21:28:01 +00:00
|
|
|
typeset -U PATH path
|
2024-10-20 12:45:01 +00:00
|
|
|
path=("$HOME/.local/bin" "$HOME/bin" "/opt/sublime_merge" "$path[@]", "$(go env GOPATH)/bin")
|
2019-10-03 21:28:01 +00:00
|
|
|
export PATH
|
|
|
|
|
2024-11-23 23:52:10 +00:00
|
|
|
# Language environment
|
|
|
|
export LANG=fr_FR.UTF-8
|
|
|
|
|
|
|
|
# Reading / Browse (manpages, websites, etc.)
|
|
|
|
export PAGER=most
|
|
|
|
export BROWSER=elinks
|
|
|
|
|
|
|
|
# SSH
|
|
|
|
export SSH_ASKPASS=qt4-ssh-askpass
|
|
|
|
|
|
|
|
# Python
|
|
|
|
export PYTHONWARNINGS="ignore::DeprecationWarning"
|
|
|
|
#export FLASK_SKIP_DOTENV=1 ## make problems with poetry and flask applications
|
|
|
|
export PIPENV_QUIET=1 # enlève les courtesy notice
|
|
|
|
|
|
|
|
# k8s
|
|
|
|
export KUBECONFIG=$HOME/kubeconfig
|
|
|
|
|