* Switch eshell to simple bash-style completion?
@ 2017-09-17 0:15 Christopher Howard
2017-09-17 0:55 ` Emanuel Berg
2017-09-22 23:57 ` John Wiegley
0 siblings, 2 replies; 3+ messages in thread
From: Christopher Howard @ 2017-09-17 0:15 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
Hi, I've been enjoying using eshell more and more, but I can't get used
to the default completion method where it picks the most recently
modified and then cycles through. Can I make it act like bash and just
complete up to the last unambiguous letter? I see some relevant looking
variables, but am not sure what to do with them. I am running Emacs
24.5.1.
--
https://qlfiles.net
https://emailselfdefense.fsf.org/en/
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Switch eshell to simple bash-style completion?
2017-09-17 0:15 Switch eshell to simple bash-style completion? Christopher Howard
@ 2017-09-17 0:55 ` Emanuel Berg
2017-09-22 23:57 ` John Wiegley
1 sibling, 0 replies; 3+ messages in thread
From: Emanuel Berg @ 2017-09-17 0:55 UTC (permalink / raw)
To: help-gnu-emacs
Christopher Howard wrote:
> Hi, I've been enjoying using eshell more and
> more, but I can't get used to the default
> completion method where it picks the most
> recently modified and then cycles through.
> Can I make it act like bash and just complete
> up to the last unambiguous letter? I see some
> relevant looking variables, but am not sure
> what to do with them.
Probably what you see is
`eshell-command-completion-function', and
usually when there are alternatives those are
given in the help - also, I can't find any - so
probably you'll have to implement the bash
style yourself :) (Perhaps not as difficult as
it sounds if you can find and reuse some
similar completion mechanism already in Emacs!)
You could just use M-x shell RET if it is just
a bash window you are looking for, of course.
--
underground experts united
http://user.it.uu.se/~embe8573
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Switch eshell to simple bash-style completion?
2017-09-17 0:15 Switch eshell to simple bash-style completion? Christopher Howard
2017-09-17 0:55 ` Emanuel Berg
@ 2017-09-22 23:57 ` John Wiegley
1 sibling, 0 replies; 3+ messages in thread
From: John Wiegley @ 2017-09-22 23:57 UTC (permalink / raw)
To: Christopher Howard; +Cc: help-gnu-emacs@gnu.org
>>>>> "CH" == Christopher Howard <christopher.howard@qlfiles.net> writes:
CH> Hi, I've been enjoying using eshell more and more, but I can't get used to
CH> the default completion method where it picks the most recently modified
CH> and then cycles through. Can I make it act like bash and just complete up
CH> to the last unambiguous letter? I see some relevant looking variables, but
CH> am not sure what to do with them. I am running Emacs 24.5.1.
You could try setting eshell-cmpl-cycle-cutoff-length to a low value, like 1.
--
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-22 23:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-17 0:15 Switch eshell to simple bash-style completion? Christopher Howard
2017-09-17 0:55 ` Emanuel Berg
2017-09-22 23:57 ` John Wiegley
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.