We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9a26b5 commit e5edd7eCopy full SHA for e5edd7e
tmuxp/config.py
@@ -105,15 +105,15 @@ def in_cwd():
105
def expandshell(_path):
106
"""Return expanded path based on user's ``$HOME`` and ``env``.
107
108
- :py:func:`os.path.expanduser` and :py:func:`os.path.expandshell`
+ :py:func:`os.path.expanduser` and :py:func:`os.path.expandvars`
109
110
:param _path: path to expand
111
:type _path: string
112
:returns: expanded path
113
:rtype: string
114
115
"""
116
- return os.path.expandshell(os.path.expanduser(_path))
+ return os.path.expandvars(os.path.expanduser(_path))
117
118
def inline(sconf):
119
""" Return config in inline form, opposite of :meth:`config.expand`.
0 commit comments