Home Contact Download

asyd.net

Welcome to Bruno Bonfils's (aka asyd homepage).
My work
# su - testuser
# svn checkout http://svn.asyd.net/svn/zsh/trunk .zsh
# ln -s .zsh/zshrc .zshrc
# vi .zsh/rc.host/${$(hostname)//.*/}.zsh
Some links
  • ZshWiki (I'm one of the maintenair)

Completion

Add a completion for a command

Guess you want the completion for gqview to complete only for images (and directories)

  • zstyle ':completion:*:*:gqview:*' file-patterns '*(-/):directories :*.(png|jpeg|jpg):all-files'

Misc

My favorites bindkeys
  • Esc-p : history search backward (command based)
  • Esc-. : insert last word
Some useful tips
  • If you want a bindkey, but you don't know the key code, just hit Control-v and then the bindkey you want use.