zsh-workers, google, newsgroups and from ourself. See section *LINKS* for
details.
-Note: This manpage (zsh-lovers(1)) is *not* an offical part of the Z shell! It's
+Note: This manpage (zsh-lovers(1)) is *not* an official part of the Z shell! It's
just a just for fun - manpage ;) +
For comments, bugreports and feedback take a quick look at the section *BUGS*.
$ grep alias ~/.zsh/* C
443
----------------------
-Some more or less useful global aliases (choose whether they are useful or not
+Some more or less useful global aliases (choose whether they are useful or not
for you on your own):
--------------------------------------------------------
---------------------------------------------------------------------------------------------------
If you end up using a directory as argument, this will remove the
-trailing slash (usefull in ln)
+trailing slash (useful in ln)
---------------------------------------------------------------------------------------------------
zstyle ':completion:*' squeeze-slashes true
---------------------------------------------------------------------------------------------------
# All files for which the owner hat read and execute permissions
$ echo *(f:u+rx:)
-# The same, but also others dont have execute permissions
+# The same, but also others don't have execute permissions
$ echo *(f:u+rx,o-x:)
# brace expansion - example
# Remove zero length and .bak files in a directory
$ rm -i *(.L0) *.bak(.)
-# print out files that dont have extensions
+# print out files that don't have extensions
$ printf '%s\n' ^?*.*
$ printf '%s\n' ^?*.[^.]*(D)
$ ls -d -- ^?*.*(D)
# see above, but now omit executables
$ ls **/*~*(${~${(j/|/)fignore}})(.^*)
-# Print out files that dont have extensions (require *setopt extendedglob*
+# Print out files that don't have extensions (require *setopt extendedglob*
# and *setopt dotglob*)
$ printf '%s\n' ^?*.*
$ print ${(r:10::0:)foo}
# find the name of all the files in their home directory that have
-# more than 20 characters in their file names
+# 20 or more characters in their file names
print -rl $HOME/${(l:20::?:)~:-}*
# Save arrays
$ for i (./*.mp3){mpg321 --w - $i > ${i:r}.wav}
# Download with LaTeX2HTML created Files (for example the ZSH-Guide):
- $ for f in http://zsh.sunsite.dk/Guide/zshguide{,{01..08}}.html; do
+ $ for f in https://zsh.sourceforge.io/Guide/zshguide{,{01..08}}.html; do
> lynx -source $f >${f:t}
> done
Redirection-Examples
~~~~~~~~~~~~~~~~~~~~
-See zshmisc(1) for more informations (or less ${^fpath}/zmv(N))
+See zshmisc(1) for more information (or less ${^fpath}/zmv(N))
-------------------------------------------------------------------------------
# Append `exit 1' at the end of all *.sh - files
$ ls *
1.c 1.foo 2.foo 3.foo 4.foo foo.fnord
-# Rename "file.with.many.dots.txt" by substituting dots (exept for the last
+# Rename "file.with.many.dots.txt" by substituting dots (except for the last
# one!) with a space
$ touch {1..20}-file.with.many.dots.txt
$ zmv '(*.*)(.*)' '${1//./ }$2'
# If a XML-file contains stuff like ``<TAGA/>'' and ``<TAGB/>'', number
# this empty tags (ones ending in '/>') so if encountered in the same
-# order, the preceeding tags would become ``<TAGA/>1</TAGA>'' and
+# order, the preceding tags would become ``<TAGA/>1</TAGA>'' and
# ``<TAGB/>2</TAGB>''
$ zmodload zsh/mapfile
$ cnt=0
-----
Primary site::
*http://www.zsh.org/[]*
+Zsh Web Pages::
+ *https://zsh.sourceforge.io/[]*
Project-page::
*http://sourceforge.net/projects/zsh/[]*
-Z shell page at sunsite.dk::
- *http://zsh.sunsite.dk/[]*
From Bash to Z Shell: Conquering the Command Line - the book::
*http://www.bash2zsh.com/[]*
"Zsh - die magische Shell" (german book about Zsh) by Sven Guckes and Julius Plenz::
Mailinglistarchive::
*http://www.zsh.org/mla/[]*
ZSH-FAQ::
- *http://zsh.dotsrc.org/FAQ/[]*
+ *https://zsh.sourceforge.io/FAQ/zshfaq.html[]*
Userguide::
- *http://zsh.sunsite.dk/Guide/[]*
-ZSH-Wiki::
- *http://zshwiki.org/home/[]*
-A short introduction from BYU::
- *http://docs.cs.byu.edu/linux/advanced/zsh.html[]*
+ *https://zsh.sourceforge.io/Guide/[]*
+ZSH-Wiki (Archived link)::
+ *http://zshwiki.org/home/[https://web.archive.org/web/20160304135622/http://zshwiki.org/home/]*
Mouse-Support ;)::
*http://stchaz.free.fr/mouse.zsh[]*
-Curtains up: introducing the Z shell::
- *http://www-128.ibm.com/developerworks/linux/library/l-z.html?dwzone=linux[]*
-ZSH-Liebhaberseite (german)::
- *http://michael-prokop.at/computer/tools_zsh_liebhaber.html[]*
-ZSH-Seite von Michael Prokop (german)::
- *http://michael-prokop.at/computer/tools_zsh.html[]*
ZSH Prompt introduction::
*http://aperiodic.net/phil/prompt/[]*
+ft's blog posts around zsh::
+ *http://bewatermyfriend.org/tag/zsh/[]*
ft's zsh configuration::
- *http://ft.bewatermyfriend.org/computer/zsh.html[]*
+ *https://gitlab.com/ft/etc-zsh[]*
Adam's ZSH page::
*http://www.adamspiers.org/computing/zsh/[]*
-Zzappers Best of ZSH Tips::
- *http://www.rayninfo.co.uk/tips/zshtips.html[]*
+Zzappers Best of ZSH Tips (Archived link)::
+ *http://www.rayninfo.co.uk/tips/zshtips.html[https://web.archive.org/web/20190517011103/http://www.rayninfo.co.uk/tips/zshtips.html]*
Zsh Webpage by Christian Schneider::
*http://www.strcat.de/zsh/[]*
The zsh-lovers webpage::
-------------------------------------------------------------------------
Andrew 'zefram' Main - http://www.fysh.org/~zefram/
Barton E. Schaefer - http://www.well.com/user/barts/
-Matthias Kopfermann - http://www.infodrom.north.de/~matthi/
+Matthias Kopfermann - http://www.guckes.net/zsh/lover.html
Oliver Kiddle - http://people.freenet.de/opk/
Paul Falstad - http://www.falstad.com/
Peter Stephenson - http://homepage.ntlworld.com/p.w.stephenson/
Richard Coleman
Stephane Chazelas - http://stephane.chazelas.free.fr/
Sven Guckes - http://www.guckes.net/
-Sven Wischnowsky - http://w9y.de/zsh/zshrc
+Sven Wischnowsky - http://w9y.de/
-------------------------------------------------------------------------
SEE ALSO
BUGS
----
-Probably. This manpage might be never complete. So please report bugs,
-feedback and suggestions to <zsh-lovers@michael-prokop.at>. Thank
-you!
+Probably. This manpage might be never complete.
+So please report bugs, feedback and suggestions via https://github.com/grml/zsh-lovers
+Thank you!
COPYRIGHT
---------