chezmoi/dot_config/oh-my-zsh/custom/01_variables.zsh
2020-07-14 10:21:51 +02:00

39 lines
1.3 KiB
Bash

# make sure LS behaves as we want it to
if [[ $OSTYPE = (linux)* ]]; then
export LS_OPTIONS='--color=auto'
fi
# terminal definition
export TERM="rxvt-unicode-256color"
# default programs
export SHELL="/bin/zsh"
export EDITOR="vim"
# LOCALE settings
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# ZSH History
export HISTFILE="$HOME/.zsh_history"
export HISTSIZE=100000
export SAVEHIST=$HISTSIZE
#export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=36;01:cd=33;01:su=31;40;07:sg=36;40;07:tw=32;40;07:ow=33;40;07:'
# MANPAGE settings
export LESS_TERMCAP_mb=$'\e[1;31m' # begin bold
export LESS_TERMCAP_md=$'\e[1;36m' # begin blink
export LESS_TERMCAP_so=$'\e[1;33;44m' # begin reverse video
export LESS_TERMCAP_us=$'\e[1;37m' # begin underline
export LESS_TERMCAP_me=$'\e[0m' # reset bold/blink
export LESS_TERMCAP_se=$'\e[0m' # reset reverse video
export LESS_TERMCAP_ue=$'\e[0m' # reset underline
export GROFF_NO_SGR=1 # for konsole and gnome-terminal
export MANPAGER='less -s -M -R +Gg'
export MANPATH="/usr/local/man:$MANPATH"
# Add ~/bin to the PATH
[ -d "$HOME/bin" ] && export PATH="$HOME/bin:$PATH"