Allow ordering of profile scripts.
authorIain Patterson <me@iain.cx>
Fri, 14 May 2010 13:09:19 +0000 (14:09 +0100)
committerIain Patterson <me@iain.cx>
Fri, 21 May 2010 16:12:46 +0000 (17:12 +0100)
commit3bbd083d605c075a4c7735ae0c836a76e6a77873
tree01fc2613e54d91bd0d662af72e9f82abe3640236
parentf323f70672f417e225e7135de8b4c49cf81d3f70
Allow ordering of profile scripts.

If "# profile-required: X" appears in a file under .profile.d then
ensure that X (which may be a list) is processed before the script in
question.
Always source OS.bashrc, PATH.bashrc and BECOME.bashrc before everything
else, if they exist.
Use this functionality to ensure that p4.bashrc isn't sourced before
vim.bashrc so that P4EDITOR can be set.
.bash_profile
.profile.d/p4.bashrc