repo.or.cz
/
git-cola.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
doc: fix release notes typo
[git-cola.git]
/
cola
/
xdg.py
blob
93191f637f2c3a62ea5429c32ae63f359e0d9881
1
# Copyright (c) 2012 David Aguilar
2
"""XDG user dirs
3
"""
4
import
os
5
from
cola
import
core
6
7
8
def
config_home
(*
args
):
9
config
=
core
.
getenv
(
'XDG_CONFIG_HOME'
,
10
os
.
path
.
join
(
core
.
expanduser
(
'~'
),
'.config'
))
11
return
os
.
path
.
join
(
config
,
'git-cola'
, *
args
)