openshift / ocm-container

Containerized environment for accessing OpenShift v4 clusters, packing necessary tools/scripts
Apache License 2.0
10 stars 63 forks source link

Enable bracketed paste for bash sessions #166

Closed mrWinston closed 1 year ago

mrWinston commented 1 year ago

This PR makes sure, that bracketed paste is enabled by default for the bash session inside the container.

The implication is, that commands that get pasted into the ocm-container shell session don't get executed immediately. Instead, they will be run only after the user actually presses the enter key.

T0MASD commented 1 year ago

thanks! tried pasting multi line command to ocm-container built from the current master and it appears paste to bash shell is bracketed already, +1 for setting this globally for gnu's readline library /lgtm

clcollins commented 1 year ago

/lgtm /approve

openshift-ci[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clcollins, mrWinston, T0MASD

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/openshift/ocm-container/blob/master/OWNERS)~~ [clcollins] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment