1 diff --git a/pastebinit b/pastebinit
2 index 4e5f9ce..fe06bd3 100755
6 # Files found later override files found earlier.
9 - for confdir in ['/usr/share', '/usr/local/share'] \
10 + for confdir in ['@etc@', '/usr/share', '/usr/local/share'] \
11 + list(reversed(os.environ.get('XDG_DATA_DIRS', '').split(':'))) \
12 + list(reversed(os.environ.get('XDG_CONFIG_DIRS', '').split(':'))) \
13 + ['/etc', '/usr/local/etc',