X-Git-Url: https://git.ozlabs.org/?p=bitfield;a=blobdiff_plain;f=bitfield;h=27605d33bf3a7cdcb52e3f3f686f8b0c71b43a89;hp=8aab6f8b617bd868264f50f12a392f4bf7c43285;hb=f28ac723f98f1618f4cbf203cf226f1e9c37cdc4;hpb=10e952c5cfc256de2acc21401567268b9615aeb0 diff --git a/bitfield b/bitfield index 8aab6f8..27605d3 100644 --- a/bitfield +++ b/bitfield @@ -15,8 +15,9 @@ from getopt import getopt, GetoptError # List of paths to look for configuration files. If a directory is specified, # it will be (recursively) scanned for .conf files. -configs = [os.path.join(os.getenv("HOME"), ".bitfields.conf"), - os.path.join(os.getenv("HOME"), ".bitfields.d")] +configs = ["/etc/bitfield.d", "/etc/bitfield", + os.path.join(os.getenv("HOME"), ".bitfield.d"), + os.path.join(os.getenv("HOME"), ".bitfield.conf")] class bitfield: def __init__(self, bits, name):