view .shell.d/50.common_env.sh @ 380:0ceb8554801e

zsh: make vcs info in prompt async Roughly cribbed from [0], but I'm hoping to rework this soon to use the zsh async library that shouldn't require a tempfile. 0: http://www.anishathalye.com/2015/02/07/an-asynchronous-shell-prompt/
author Augie Fackler <raf@durin42.com>
date Thu, 10 Mar 2016 18:56:28 -0500
parents 1e4a6dcc043d
children 078a8053be9f
line wrap: on
line source

# generic settings, pulled into a .d file so it's easy to share between bash and zsh
# Get me colors in ls
export CLICOLOR="yes"
export LSCOLORS="exgxcxDxCxEGEDcbcgExEx"

# Generic environment variables
export PAGER='less -M -X'
export EDITOR='vim'
export SVN_MERGE='svn-hgmerge.py'
export CVS_RSH='ssh'
export LESS="-R"

insert_path_element ~/unixSoft/bin
unset MANPATH # smart man(1)s autodetect that from PATH.

insert_element_into_var "$HOME/unixSoft/lib/python" PYTHONPATH
insert_element_into_var /opt/hg/lib/python PYTHONPATH

insert_path_element /opt/hg/bin
export LESS=FSRX