selectrum icon indicating copy to clipboard operation
selectrum copied to clipboard

shell completion also escapes shell variable names

Open ssnnoo opened this issue 3 years ago • 0 comments

Hi,

following up on issue this issue, now also shell-variables are escaped via ,

e.g.

in home directory cd TAB -> then type $HOME and select the input line -> inserts "cd $HOME"

though if I type $HOME in this case, the first candidate is the content of the shell variable, but if I select the candidate, the text is added to the input and does not replace it, e.g. if $HOME is asdf

typing $HOME TAB -> $HOMEasdf/

shell variable completion seems to work once I type $ followed directly by TAB, then I can select HOME (without $).

sorry, not straight forward to describe the issue.

ssnnoo avatar Mar 04 '21 16:03 ssnnoo