Skip to content

Complex aliases are not supported #86

@jasursadikov

Description

@jasursadikov
Traceback (most recent call last):
  File "/usr/bin/mud", line 8, in <module>
    sys.exit(run())
             ~~~^^
  File "/usr/lib/python3.13/site-packages/mud/__init__.py", line 12, in run
    app.run()
    ~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/mud/app.py", line 143, in run
    self._parse_aliases()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/mud/app.py", line 280, in _parse_aliases
    for alias, command in dict(utils.settings.alias_settings).items():
                          ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/configparser.py", line 1277, in __getitem__
    return self._parser.get(self._name, key)
           ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/configparser.py", line 828, in get
    return self._interpolation.before_get(self, section, option, value,
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                          d)
                                          ^^
  File "/usr/lib/python3.13/configparser.py", line 415, in before_get
    self._interpolate_some(parser, option, L, value, section, defaults, 1)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/configparser.py", line 447, in _interpolate_some
    raise InterpolationSyntaxError(option, section,
        "bad interpolation variable reference %r" % rest)
configparser.InterpolationSyntaxError: bad interpolation variable reference '%(refname:short)\' | sort) <(git branch -r --format=\'%(refname:short)\' | sed \'s|origin/||\' | sort) | xargs git branch -D"'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions