add the functions needed for some keybindings
[zsh.git] / .zsh / functions / help_history
1 # -*- mode:sh -*-
2 echo -e "
3
4 !42 # re-run command 42
5 !! # re-run last command
6 !v # re-run last command that started with 'v'
7 !?foo? # re-run last command that had the string "foo" anywhere in it
8
9 !^ # first argument of last command
10 !$ # last argument of last command
11 !!* # all arguments of last command
12
13 !-n # history line x lines ago (!-5 => history 5 commands ago)
14 "