Restore .Xresources from f233197955bf.
Move PATH setup before aliasing so aliasing can query versions.
Merge.
Add mq for hg strip, and turn on blackbox logging extension.
Add Linux user Python bin directory to $PATH, if it exists.
Use aliases for ls as well.
Total cleanup.
Use the new xdg-open command if available.
Clean up path handling with a general-purpose function.
Symlink only if repository exists.
Don’t use brightness for bolding, because we have proper bold fonts.
Automatically set nomodifiable to prevent editing of read-only files.
Misc color fixes.
Fix embarrassing typo!
Fix Unicode problem.

My sitecustomize.py sets the default encoding to UTF-8 instead of ASCII.
But this script can run before PYTHONPATH is set to point at it.
Restore custom keyboard layout file deleted in changeset a943c5ec3d7d.
Install custom keyboard layout automatically on login to Ubuntu.
Use proper comment character to avoid warnings in ~/.xsession-errors.