Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh tips plea (tip of the day)



On 2004-07-23 12:55:03 -0400, Atom 'Smasher' wrote:
> in ~/.zshrc:
> 
> precmd () {
>     print -n '\017'
> }

I've just noticed a clash with the .zcompdump file (that gets
such ^O characters, making the completions fail). The fix:

  [[ -n $TTY ]] && print -n ... > $TTY

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17,
Championnat International des Jeux Mathématiques et Logiques, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author