annotate .shell.d/50.common_env.sh @ 525:b0fa9e7cadac

shell: speed things up by golfing out grep
author Augie Fackler <raf@durin42.com>
date Mon, 14 Nov 2022 10:46:11 -0500
parents b2be3e77b64a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
39
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
1 # generic settings, pulled into a .d file so it's easy to share between bash and zsh
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
2 # Get me colors in ls
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
3 export CLICOLOR="yes"
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
4 export LSCOLORS="exgxcxDxCxEGEDcbcgExEx"
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
5
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
6 # Generic environment variables
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
7 export PAGER='less -M -X'
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
8 export EDITOR='vim'
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
9 export SVN_MERGE='svn-hgmerge.py'
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
10 export CVS_RSH='ssh'
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
11 export LESS="-R"
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
12
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
13 insert_path_element ~/unixSoft/bin
403
5c60aa185a97 common_env: add pip --user paths on OS X to PATH
Augie Fackler <raf@durin42.com>
parents: 395
diff changeset
14 insert_path_element ~/Library/Python/2.7/bin
5c60aa185a97 common_env: add pip --user paths on OS X to PATH
Augie Fackler <raf@durin42.com>
parents: 395
diff changeset
15 insert_path_element ~/Library/Python/3.5/bin
39
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
16 unset MANPATH # smart man(1)s autodetect that from PATH.
62bfb554ab85 Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
17
132
82fd8ff94de8 Upgrade to more recent layout.
Augie Fackler <durin42@gmail.com>
parents: 70
diff changeset
18 insert_path_element /opt/hg/bin
256
308c884414bc shell env: export some less options
Augie Fackler <durin42@gmail.com>
parents: 241
diff changeset
19 export LESS=FSRX
446
b2be3e77b64a env: disable colors in hg testrunner output
Augie Fackler <raf@durin42.com>
parents: 403
diff changeset
20
b2be3e77b64a env: disable colors in hg testrunner output
Augie Fackler <raf@durin42.com>
parents: 403
diff changeset
21 # hg's test runner thinks it wants color. It's wrong.
b2be3e77b64a env: disable colors in hg testrunner output
Augie Fackler <raf@durin42.com>
parents: 403
diff changeset
22 export HGRUNTESTSCOLOR=never