!$
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.
No, we are not primarily fighting with you about movies. We are
primarily fighting to protect our way of making software. Our efforts
are designed to protect our right to modify and reinstall, improve,
and share software. Don't tell us that we're off on some quixotic, romantic
engagement with reshaping the movie business. We're hackers, we make
software. Our concern is protecting the integrity of the process that
makes software. And all the legal devices that we recommend, and all
the trouble that we are making, is to protect our homeland against
somebody else, who wants to come in and prevent us from doing science
and technology the way science and technology should be done according
to us, the scientists and technologists.
-- Eben Moglen, 2006 FSF Associate Member Meeting
This page was last modified on 2011 December 20. "NotesZsh" by John Sullivan is Copyright ©2003 - 2011, and licensed under the Creative Commons Attribution-Share Alike 3.0 United States License.