chore(ZSH): Let Oh-my-zsh. Use antidote instead + custom .zshrc
This commit is contained in:
39
.zshenv
39
.zshenv
@ -1,8 +1,39 @@
|
||||
#!/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
|
||||
|
||||
# Autocomplètement supplémentaire (Docker)
|
||||
if [ -d "$HOME/.zsh/completion" ] ; then
|
||||
fpath=(~/.zsh/completion $fpath)
|
||||
fi
|
||||
# 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
|
||||
|
||||
|
Reference in New Issue
Block a user