Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kitten_alias option not splitting kitten args properly #2952

Closed
taylon opened this issue Sep 6, 2020 · 0 comments
Closed

kitten_alias option not splitting kitten args properly #2952

taylon opened this issue Sep 6, 2020 · 0 comments
Labels

Comments

@taylon
Copy link

taylon commented Sep 6, 2020

Hi, I might have found a bug with the kitten_alias option

As an example, if I set it as: kitten_alias hints hints --hints-offset=0 (which is the example in the docs)

then the output of kitty --debug-config looks like:

kitten_aliases        {'hints': ['hints', '--hints-offset=0']}

Added shortcuts:
	... KeyAction(func='kitten', args=['hints --hints-offset=0 --type=path --program -'])

without the option the output is:

Added shortcuts:
	... KeyAction(func='kitten', args=['hints', '--type=path --program -'])

With the option set no kitten shortcut work, apparently the args list is not being split properly

@taylon taylon added the bug label Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant