In Gnome Terminal, the = character is unexpectedly selected

LS,

In Gnome Terminal, the = character is unexpectedly selected
I have set up a lot of aliases, defined in /etc/profile.d/hans_alias.sh

I do ask some to show up

$ alias | grep fotonaam
alias fotonaam='jhead -n%Y_%m%d_%H%M%S *[JjPpGg]'
alias fotonaamc='jhead -n%Y_%m%d_%H%M%S I*[JjPpGg]'
alias fotonaamcr2='exiftool '\''-filename<CreateDate'\'' -d '\''%Y_%m%d_%H%M%S%%-c.%%le'\'' -ext cr2 .'
alias fotonaamjpg='jhead -n%Y_%m%d_%H%M%S I*[JjPpGg]'

When I want to use one of them, but dont want to type in the alias name, I do double click with the mouse on the desired alias. Then the = character behind the command name is selected as well :
I hope to select fotonaam, but it does select fotonaam=
How to toggle this behaviour off.

Thanks in advance

Hans

Aliases are supported by autocomplete.

Type in foto then hit Tab to complete - then finalize by pressing e.g. c - if you wanted the jpg then you just type j and hit tab again.

That is a nice proposal, based on vi functionality. But no answer on my question. In LInux Mint, also in the gnome terminal, I have the possibility to define characters which will be part of words / will be separated when clicking text for selection. I will try to get a picture of it here. Soon …

I did suggest the autocomplete - because I don’t think you can - and I didn’t want to just say that, but give you an option as well.

It work exactly the same way on a Manjaro Plasma.

If I list the aliases then doubleclick on the alias name - it will include the = (equals) character.

But if find the place - let me know - let all of us know :slight_smile:

In Plasma Konsole application there is a configuration entry which defines what the call Word characters which defaults to :@-./_~?&=%+# and the = equal sign is part of it.

I have never had any use and I likely never will what you could do is select the chars with the mouse, then click the middle mouse button - it will paste the selected text as the command - if configured to paste on middleclick - but that is not what you want either.