help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Asking about feature: repeat last autocompletion.


From: Arkadiusz Drabczyk
Subject: Re: [Help-bash] Asking about feature: repeat last autocompletion.
Date: Mon, 8 Jul 2019 17:51:07 -0000 (UTC)
User-agent: slrn/1.0.2 (Linux)

On 2019-07-08, David Weeks <address@hidden> wrote:
> Hi All,
>
> I'm wondering if there is a bash feature that will repeat the last 
> autocompleted field.  I've been having to rename some file names 
> manually, due to absurd control and unicode characters, and use 
> autocomplete to enter the majority of the filename.  If we had a feature 
> that would repeat the last autocompleted entry, I would not have to type 
> the same thing twice.
>
> These filenames can be long, and they are full of troublesome 
> characters, like unicode, which I cannot type without knowing the code 
> point(s), so repeating the name, I then fix the "naughty bits."

You could either use dabbrev-expand that I described here
https://unix.stackexchange.com/a/139016/72304 or use !#:$ word
designator in conjunction with C-M-e readline keybinding.

-- 
Arkadiusz Drabczyk <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]