Skip to content

Conversation

@sherpalabsio
Copy link

The problem

eval "__varstash_alias__$stash_name=\"$alias_def\"" crashes in lib/varstash:111 when I want to stash an alias like alias some_alias='echo "ORIG ALIAS"'.

The problem occurs when we have a space inside double quotes in the alias.

The fix

Escape double quotes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant