ZSH hide completion string

14 views
Skip to first unread message

Marcelino Llano

unread,
Feb 12, 2010, 9:55:13 AM2/12/10
to PeepCode
This is the kind of question that maybe only matters to me, but i
searched with no luck
It's a small tweek, how do i remove the completion's "bck-i-search:"
string

The advanced command line opened the door, really informative

Thanks!

Marcelino Llano

unread,
Feb 12, 2010, 12:50:32 PM2/12/10
to PeepCode
responding myself
this string in hardcoded inside src/zle/zle_hist.c
just edit doisearch() function
recompile, sweetness http://marce.li/no/1w

topfunky

unread,
Feb 12, 2010, 12:50:52 PM2/12/10
to PeepCode
On Feb 12, 6:55 am, Marcelino Llano <he...@marcelinollano.com> wrote:
> This is the kind of question that maybe only matters to me, but i
> searched with no luck
> It's a small tweek, how do i remove the completion's "bck-i-search:"
> string

My guess is that string is not configurable.

This article talks about binding different keys and enabling forward
search, too:

http://aditya.sublucid.com/2009/07/09/best-shell-tip-ever-bck-i-search-or-reverse-i-search-for-the-bash-heads/

Geoffrey Grosenbach
http://peepcode.com

p.s. New jQuery Ajax screencast now available! https://peepcode.com/products/jquery-ajax

Marcelino Llano

unread,
Feb 12, 2010, 12:57:29 PM2/12/10
to PeepCode
nice too!

On Feb 12, 6:50 pm, topfunky <topfunkycorporat...@gmail.com> wrote:
> On Feb 12, 6:55 am, Marcelino Llano <he...@marcelinollano.com> wrote:
>
> > This is the kind of question that maybe only matters to me, but i
> > searched with no luck
> > It's a small tweek, how do i remove the completion's "bck-i-search:"
> > string
>
> My guess is that string is not configurable.
>
> This article talks about binding different keys and enabling forward
> search, too:
>

>  http://aditya.sublucid.com/2009/07/09/best-shell-tip-ever-bck-i-searc...
>
> Geoffrey Grosenbachhttp://peepcode.com

Reply all
Reply to author
Forward
0 new messages