ft's zsh configuration
Here you can find my zsh configuration. It's split up into seperate files.
This Setup is pretty exhaustive.
The notable feature about it is, that it should work without problems with
every zsh version out there. Even versions pre3 are somewhat supported by now.
Here is a tarball with all files:
zsh-dotfiles.tar.bz2
The atag() functions are available in a seperate tarball: atag-functions.tar.gz
Information on how to use this bundle is available at the start of zshrc.
Read it, if you got questions about how to get it working properly.
Oh btw, caphuso gave an interesting talk about zsh on IRC some time ago.
Not everything in that talk is correct today (like missing UTF8 support,
which zsh includes nowadays). But it is a good read nevertheless.
Especially for starters. Here it is: caphuso's zsh talk
Here are most of the files from the tarball as ".html" with a few remarks:
zshrc
This file loads either 'zshrc.real' or 'zshrc.pre3', based on what zsh version is running.
zshrc.real
This file is loaded for versions starting with v3.0.0 and does the advanced setup.
zshrc.pre3
This file is loaded for zsh versions before v3.0.0; it sets up a usable minimal system.
zshrc.local
These are local settings from my laptop (note, that this file is not included in the tarball).
modules
loading modules and autoloading functions
zfunct
contains a few shorter functions
zlogout
The logout procedure; just blanks the screen of a login shell.
options
setopt options with descriptions.
vars
most shell variables, except for $path and $fpath.
path
This file sets $fpath and $path; it's loaded pretty early in zshrc, because
these vars need to be set when other files are sourced.
aliases
defining aliases.
zle
zsh's Line Editor configuration
uses zkbd to configure special keys.
compsys
compsys configuration
compctl
configuration of the old compctl system (only loaded for older zsh versions)
misc
stuff that fits nowhere else.
zcleanup
Variables and functions that are used exclusively in the configuration.
are removed here.
dircolors
Configuration for GNU's dircolors; I use $LS_COLORS to colorize completion lists,
so I'm putting the file here aswell.
these are a few functions from my '~/etc/zsh/functions' dir:
functions/atag :
transparantly tags *.mp3, *.ogg and *.flac files.
well, the most important tags, at least. :-)
functions/atag-editor :
Edit tags of given audio files in an editor (uses atag() as its backend)
functions/atag-reset :
Calls atag() for a given list of files (Removes unsupported tags)
functions/kget :
loads tarballs/patches/incremental-patches of linux kernels form $server
functions/lookup :
lookup script for various websites
functions/reb :
automatic handling of various eBook formats (like .pdf, .chm etc.)
functions/sshot :
takes screenshots
functions/swnet :
A function I use for switching network interface configurations.
Zle Widgets:
functions/accept-line :
A generic accept-line wrapper (see Tooltime zsh #9).
functions/exec_on_xclip :
This lets you do lots of automatic actions on the x11 selection buffer.
Completion Widgets:
functions/_atag :
adds useful and guiding completion for the atag function (see above).
functions/_atag-editor :
completion for atag-editor.
functions/_atag-reset :
completion for atag-reset.
functions/_lookup :
completion for the lookup function.
functions/_reb :
completion for the reb function.
functions/_swnet :
completion for swnet(), which is mentioned above
![[[[ debian ]]]](/gra/debian.png)
![[[[ openbsd ]]]](/gra/openbsd.png)
![[[[ hacker ]]]](/gra/hacker.png)
![[[[ keine zielgruppe ]]]](/gra/kziel.png)
![[[[ vim created! ]]]](/gra/vim.png)
![[[[ zsh lover ]]]](/gra/zsh_lover.png)
![[[[ use-gpg! ]]]](/gra/usegpg.png)
![[[[ code perl! ]]]](/gra/perl.png)