blob: 0a271fc68256cf008989b085bd4d2b1bb115e4fe (
plain)
1
2
3
4
5
6
7
8
|
import os
def get_config_dir() -> str:
parent = os.environ.get('XDG_CONFIG_HOME') or os.path.join(
os.path.expanduser('~'), '.config')
root = os.path.join(parent, "gita")
return root
|