• [^] # Re: Sortie de ZSH 4.2.0

    Posté par . En réponse à la dépêche Sortie de ZSH 4.2.0. Évalué à 3.

    Z comme y'a plus de lettre apres donc c'est le shell Zultime ! Y'a tout dedans !

    D'ailleur personne n'a vu qu'un tetris avait ete integré dans la 4.2.0. Ca tourne franchement emacs la :

    tetris Zsh was once accused of not being as complete as Emacs, because
    it lacked a Tetris game. This function was written to refute
    this vicious slander.

    This function must be used as a ZLE widget:

    autoload -U tetris
    zle -N tetris
    bindkey keys tetris

    To start a game, execute the widget by typing the keys. What-
    ever command line you were editing disappears temporarily, and
    your keymap is also temporarily replaced by the Tetris control
    keys. The previous editor state is restored when you quit the
    game (by pressing `q') or when you lose.

    If you quit in the middle of a game, the next invocation of the
    tetris widget will continue where you left off. If you lost, it
    will start a new game.