Skip to content

Conversation

@alexiswl
Copy link
Contributor

Prevents errors with here-string completion logic issues

I currently create some completion commands with python. See example here

Using the following syntax

python -c  << EOF
<insert python code here>
EOF

The EOF must be on its own line.

I use a sed hack at the moment to get around this.

Prevents errors with here-string completion logics
Copy link
Owner

@perlpunk perlpunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it would be a good idea to only do this if $string consists of more than one line, to not make simple commands more verbose

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.

2 participants