dotfiles/.zshenv

40 lines
989 B
Bash

#!/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
typeset -U PATH path
path=("$HOME/.local/bin" "$HOME/bin" "/opt/sublime_merge" "$path[@]", "$(go env GOPATH)/bin")
export PATH
# 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