Skip to content

Commit e5edd7e

Browse files
committed
tmuxp.util.expandvars: fix
1 parent e9a26b5 commit e5edd7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tmuxp/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,15 @@ def in_cwd():
105105
def expandshell(_path):
106106
"""Return expanded path based on user's ``$HOME`` and ``env``.
107107
108-
:py:func:`os.path.expanduser` and :py:func:`os.path.expandshell`
108+
:py:func:`os.path.expanduser` and :py:func:`os.path.expandvars`
109109
110110
:param _path: path to expand
111111
:type _path: string
112112
:returns: expanded path
113113
:rtype: string
114114
115115
"""
116-
return os.path.expandshell(os.path.expanduser(_path))
116+
return os.path.expandvars(os.path.expanduser(_path))
117117

118118
def inline(sconf):
119119
""" Return config in inline form, opposite of :meth:`config.expand`.

0 commit comments

Comments
 (0)