-
-
Notifications
You must be signed in to change notification settings - Fork 252
Description
Having a lot of dotfiles in ~ can get really annoying. It'd be nice to see bpython use freedesktop's XDG specification for configuration files etc. (see http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html).
===== =====
Freedesktop.org offers a python library for easy XDG integration (http://www.freedesktop.org/wiki/Software/pyxdg), but since it isn't available on PyPI and the requirement is only small, it might be wiser just to handle it manually.
====== ======
I took a look at the code this morning and changed everything which ack told me pertained to finding the config file. I put my diffs on bpaste and I'll link them here. I doubt they'll be perfect, but it's a start at least.
= =
args.py -- http://bpaste.net/raw/2056/
= =
config.py -- http://bpaste.net/raw/2055/
= =
cli.py -- http://bpaste.net/raw/2060/
- Bitbucket: https://bitbucket.org/bobf/bpython/issue/91
- Originally Reported By:
- Originally Created At: 2010-01-04T15:23:54.051