!$ uses the last argument on the previous command line.
!! repeats the last command.
!l repeats the last command that starts with l.
!32 runs command #32 from the history.
bindkey -L shows the list of keybindings.
zle -la shows the list of commands that can be bound.
ls =top will show the full path to the top binary.
prompt -l shows available prompt profiles.
setop autocd lets you change directories without typing cd first.
cd ~- changes to the previous directory.
~2 goes to the second directory in the directory stack.
~-0 goes to the final directory in the directory stack.
touch {1...10}.txt creates 10 test files.
A Tale of Two Cities LITE(tm)
-- by Charles Dickens
A man in love with a girl who loves another man who looks just
like him has his head chopped off in France because of a mean
lady who knits.
Crime and Punishment LITE(tm)
-- by Fyodor Dostoevski
A man sends a nasty letter to a pawnbroker, but later
feels guilty and apologizes.
The Odyssey LITE(tm)
-- by Homer
After working late, a valiant warrior gets lost on his way home.
This page was last modified on 2008 October 05. NotesZsh by John Sullivan is Copyright ©2003, 2004, 2005, 2006, 2007, 2008, and licensed under the Creative Commons Attribution-Share Alike 3.0 United States License.