On 4/22/14 7:34 AM, Jesper Nygårds wrote:
> Here are simplified versions of two functions that I have written. Both are
> inspired by similar functions floating around on the zsh mailing lists. The
> first copies the previous word on the command line, and the second one
> converts three consecutive dots (...) into ../.., and you can then keep
> adding levels by typing . repeatedly.
There will be a fix for this in the next release of bash.

The current implementation is more oriented towards commands that do
display to stdout, in which case the shell needs to do full redisplay.
The fix I'm making will allow a command to return a special exit status
to indicate that the previous behavior is desired.

This won't really make a difference to people who don't use bind -x or
don't have multi-line prompts.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to