diff options
author | Lukc <lukc@upyum.com> | 2010-12-19 15:57:49 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-19 15:57:49 +0100 |
commit | 432ec0174d51734ccfd8e614ccaf8435cdf9fa17 (patch) | |
tree | c26c2e213b3b33ab1dd5422470885141705eaae7 /zsh | |
parent | 40a209622a48332cc2de9b15dbc13ad33ec5202e (diff) | |
download | base-432ec0174d51734ccfd8e614ccaf8435cdf9fa17.tar.gz base-432ec0174d51734ccfd8e614ccaf8435cdf9fa17.tar.bz2 base-432ec0174d51734ccfd8e614ccaf8435cdf9fa17.tar.xz base-432ec0174d51734ccfd8e614ccaf8435cdf9fa17.zip |
Recette de zsh ajoutée. o/
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.footprint | 906 | ||||
-rw-r--r-- | zsh/.md5sum | 2 | ||||
-rw-r--r-- | zsh/.sha256sum | 2 | ||||
-rw-r--r-- | zsh/Pkgfile | 40 | ||||
-rw-r--r-- | zsh/Pkgfile.old | 40 | ||||
-rw-r--r-- | zsh/README | 16 | ||||
-rw-r--r-- | zsh/zsh-lovers.1 | 1753 |
7 files changed, 2759 insertions, 0 deletions
diff --git a/zsh/.footprint b/zsh/.footprint new file mode 100644 index 0000000..4f33fe5 --- /dev/null +++ b/zsh/.footprint @@ -0,0 +1,906 @@ +drwxr-xr-x root/root bin/ +-rwxr-xr-x root/root bin/zsh +hrwxr-xr-x root/root bin/zsh-4.3.10 -> ./bin/zsh +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/zsh/ +drwxr-xr-x root/root usr/lib/zsh/4.3.10/ +drwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/ +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/attr.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/cap.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/clone.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/compctl.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/complete.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/complist.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/computil.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/curses.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/datetime.so +drwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/db/ +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/db/gdbm.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/deltochar.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/example.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/files.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/langinfo.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/mapfile.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/mathfunc.so +drwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/net/ +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/net/socket.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/net/tcp.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/newuser.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/parameter.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/pcre.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/regex.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/rlimits.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/sched.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/stat.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/system.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/termcap.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/terminfo.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/zftp.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/zle.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/zleparameter.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/zprof.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/zpty.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/zselect.so +-rwxr-xr-x root/root usr/lib/zsh/4.3.10/zsh/zutil.so +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/zsh-lovers.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zsh.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshall.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshbuiltins.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshcalsys.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshcompctl.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshcompsys.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshcompwid.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshcontrib.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshexpn.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshmisc.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshmodules.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshoptions.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshparam.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshroadmap.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshtcpsys.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshzftpsys.1.bz2 +-rw-r--r-- root/root usr/share/man/man1/zshzle.1.bz2 +drwxr-xr-x root/root usr/share/zsh/ +drwxr-xr-x root/root usr/share/zsh/4.3.10/ +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/ +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Calendar/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Calendar/age +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Calendar/calendar +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Calendar/calendar_add +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Calendar/calendar_edit +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Calendar/calendar_lockfiles +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Calendar/calendar_parse +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Calendar/calendar_read +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Calendar/calendar_scandate +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Calendar/calendar_show +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Calendar/calendar_showdate +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Calendar/calendar_sort +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/ +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/AIX/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/AIX/_floppy +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/AIX/_logical_volumes +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/AIX/_lscfg +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/AIX/_lsdev +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/AIX/_lslv +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/AIX/_lspv +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/AIX/_lsvg +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/AIX/_object_classes +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/AIX/_physical_volumes +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/AIX/_smit +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/AIX/_volume_groups +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/BSD/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/BSD/_bsd_pkg +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/BSD/_chflags +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/BSD/_csup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/BSD/_cvsup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/BSD/_fetch +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/BSD/_freebsd-update +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/BSD/_kld +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/BSD/_portaudit +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/BSD/_portlint +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/BSD/_portsnap +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/BSD/_powerd +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/Base/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_all_labels +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_all_matches +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_alternative +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_approximate +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_arg_compile +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_arguments +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_bash_completions +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_cache_invalid +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_call_function +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_call_program +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_combination +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_complete +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_complete_debug +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_complete_help +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_complete_help_generic +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_complete_tag +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_correct +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_correct_filename +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_correct_word +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_describe +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_description +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_dispatch +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_expand +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_expand_alias +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_expand_word +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_generic +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_guard +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_history +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_history_complete_word +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_ignored +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_list +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_main_complete +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_match +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_menu +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_message +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_most_recent_file +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_multi_parts +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_next_label +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_next_tags +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_normal +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_nothing +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_oldlist +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_pick_variant +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_prefix +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_read_comp +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_regex_arguments +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_regex_words +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_requested +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_retrieve_cache +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_sep_parts +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_set_command +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_store_cache +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_sub_commands +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_tags +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_user_expand +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_values +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Base/_wanted +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/Cygwin/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Cygwin/_cygcheck +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Cygwin/_cygpath +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Cygwin/_cygrunsrv +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Cygwin/_cygserver +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Cygwin/_cygstart +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Cygwin/_dumper +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Cygwin/_getclip +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Cygwin/_mkshortcut +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Cygwin/_mkzsh +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Cygwin/_pscp +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Cygwin/_putclip +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Cygwin/_readshortcut +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/Darwin/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Darwin/_defaults +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Darwin/_fink +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Darwin/_hdiutil +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Darwin/_mac_applications +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Darwin/_mac_files_for_application +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Darwin/_open +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Darwin/_qtplay +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Darwin/_retrieve_mac_apps +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Darwin/_softwareupdate +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/Debian/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_a2utils +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_apt +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_apt-file +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_apt-move +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_apt-show-versions +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_aptitude +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_auto-apt +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_bts +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_bug +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_cdbs-edit-patch +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_dak +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_dchroot +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_dchroot-dsa +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_deb_packages +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_debchange +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_debdiff +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_debfoster +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_debsign +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_dlocate +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_dpatch-edit-patch +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_dpkg +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_dpkg-buildpackage +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_dpkg-cross +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_dpkg-repack +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_dpkg_source +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_dput +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_dupload +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_grep-excuses +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_invoke-rc.d +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_lighttpd +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_linda +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_lintian +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_madison +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_make-kpkg +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_members +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_mergechanges +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_module-assistant +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_piuparts +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_reprepro +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_schroot +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_svn-buildpackage +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_toolchain-source +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_update-alternatives +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_update-rc.d +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_uscan +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_vim-addons +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_wajig +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Debian/_wanna-build +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/Linux/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_acpi +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_acpitool +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_analyseplugin +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_brctl +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_chrt +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_ethtool +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_fuse_arguments +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_fuse_values +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_fusermount +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_ionice +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_ipset +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_iptables +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_iwconfig +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_losetup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_lsusb +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_mdadm +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_mii-tool +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_modutils +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_mondo +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_pkgtool +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_rpmbuild +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_sshfs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_strace +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_tpb +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_tpconfig +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_tune2fs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_uml +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_valgrind +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_vserver +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_wakeup_capable_devices +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Linux/_yast +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/Mandriva/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Mandriva/_rebootin +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Mandriva/_urpmi +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/Redhat/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Redhat/_rpm +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Redhat/_service +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Redhat/_yum +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_coreadm +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_dhcpinfo +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_dladm +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_dumpadm +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_gcore +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_inetadm +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_pfexec +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_ptree +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_savecore +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_svcadm +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_svccfg +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_svcprop +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_svcs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_svcs_fmri +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Solaris/_zlogin +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/Unix/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_a2ps +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_aap +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ant +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_antiword +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_apachectl +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_apm +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_arch_archives +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_arch_namespace +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_arp +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_arping +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_attr +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_awk +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_baz +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_bind_addresses +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_bison +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_bittorrent +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_bogofilter +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_bzip2 +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_bzr +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_cal +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_calendar +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_canonical_paths +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ccal +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_cdcd +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_cdrdao +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_cdrecord +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_chkconfig +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_chmod +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_chown +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_comm +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_compress +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_configure +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_cowsay +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_cp +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_cpio +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_cplay +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_cssh +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ctags_tags +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_cut +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_cvs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_darcs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_date +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_dd +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_devtodo +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_dhclient +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_dict +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_dict_words +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_diff +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_diff_options +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_diffstat +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_dir_list +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_directories +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_django +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_dmidecode +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_domains +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_du +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_dvi +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ecasound +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_elinks +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_elm +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_email_addresses +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_enscript +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_env +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_fakeroot +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_fetchmail +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_figlet +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_file_systems +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_files +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_find +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_finger +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_flasher +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_flex +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_fortune +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_fsh +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_fuser +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_gcc +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_gdb +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_genisoimage +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_getconf +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_getent +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_getfacl +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_getmail +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_git +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_global +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_global_tags +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_gnu_generic +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_gnupod +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_gnutls +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_gpg +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_gphoto2 +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_gprof +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_grep +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_groff +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_groups +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_growisofs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_gs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_guilt +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_gzip +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_have_glob_qual +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_hosts +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_iconv +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_id +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ifconfig +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_iftop +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_imagemagick +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_init_d +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ip +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_irssi +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ispell +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_java +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_java_class +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_joe +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_join +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_killall +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_knock +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_kvno +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_last +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ld_debug +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ldd +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_less +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_links +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_list_files +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_loadkeys +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_locales +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_locate +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_look +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_lp +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ls +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_lsof +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_lynx +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_lzop +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mail +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mailboxes +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_make +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_man +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_md5sum +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mencal +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mercurial +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_metaflac +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mh +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mime_types +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mkdir +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_module +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_monotone +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mount +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mpc +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mt +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mtools +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mtr +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mutt +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_my_accounts +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mysql_utils +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_mysqldiff +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ncftp +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_net_interfaces +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_netcat +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_newsgroups +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_nice +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_nmap +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_nslookup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_other_accounts +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_pack +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_patch +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_path_commands +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_path_files +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_pax +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_pbm +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_pdf +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_perforce +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_perl +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_perl_basepods +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_perl_modules +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_perldoc +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_php +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_pids +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_pine +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ping +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_pkg-config +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_pkg_instance +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_pon +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ports +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_postfix +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_prcs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_printenv +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_printers +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ps +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_pspdf +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_psutils +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_pump +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_pydoc +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_python +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_qemu +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_quilt +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_raggle +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_rake +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ranlib +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_rar +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_rcs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_renice +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ri +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_rlogin +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_rm +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_rrdtool +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_rsync +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_rubber +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ruby +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_sablotron +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_samba +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_sccs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_screen +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_sed +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_services +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_setfacl +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_sh +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_showmount +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_signals +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_sisu +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_slrn +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_socket +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_sort +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_spamassassin +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_sqsh +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_ssh +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_stgit +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_strip +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_stty +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_su +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_subversion +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_sudo +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_surfraw +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_sysctl +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_tar +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_tar_archive +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_tardy +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_tcpdump +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_tcptraceroute +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_telnet +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_terminals +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_tex +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_texi +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_texinfo +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_tidy +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_tiff +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_tilde_files +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_time_zone +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_tin +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_tla +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_todo.sh +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_toilet +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_topgit +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_totd +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_tracepath +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_twisted +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_unace +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_uname +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_unexpand +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_uniq +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_units +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_urls +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_user_admin +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_user_at_host +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_users +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_users_on +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_vim +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_vorbis +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_vorbiscomment +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_vux +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_w3m +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_webbrowser +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_wget +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_whereis +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_whois +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_wiggle +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_xargs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_xmlsoft +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_xmms2 +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_yafc +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_yodl +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_yp +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_zcat +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_zdump +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_zfs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_zfs_dataset +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_zfs_pool +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_zip +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Unix/_zpool +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/X/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_acroread +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_dcop +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_gnome-gv +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_gqview +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_gv +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_kfmclient +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_mozilla +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_mplayer +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_nautilus +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_nedit +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_netscape +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_qiv +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_setxkbmap +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_urxvt +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_vnc +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_arguments +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_borderwidth +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_color +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_colormapid +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_cursor +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_display +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_extension +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_font +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_geometry +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_keysym +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_locale +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_modifier +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_name +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_resource +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_selection_timeout +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_title +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_utils +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_visual +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_x_window +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xauth +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xdvi +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xfig +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xloadimage +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xmodmap +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xpdf +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xrandr +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xscreensaver +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xset +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xt_arguments +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xt_session_id +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xterm +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xv +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/X/_xwit +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_alias +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_aliases +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_arrays +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_assign +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_autocd +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_bindkey +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_brace_parameter +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_builtin +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_cd +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_command +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_command_names +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_compdef +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_condition +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_default +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_delimiters +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_directory_stack +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_dirs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_disable +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_dynamic_directory_name +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_echotc +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_echoti +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_emulate +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_enable +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_equal +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_fc +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_file_descriptors +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_first +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_functions +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_globflags +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_globqual_delims +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_globquals +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_hash +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_history_modifiers +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_in_vared +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_jobs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_jobs_bg +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_jobs_builtin +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_jobs_fg +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_kill +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_limit +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_limits +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_math +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_mere +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_options +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_options_set +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_options_unset +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_parameter +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_parameters +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_precommand +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_print +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_prompt +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_read +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_redirect +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_sched +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_set +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_setopt +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_source +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_stat +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_subscript +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_suffix_alias_files +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_tcpsys +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_tilde +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_trap +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_ttyctl +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_typeset +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_ulimit +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_unhash +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_unsetopt +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_value +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_vared +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_vars +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_wait +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_which +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_zattr +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_zcalc_line +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_zcompile +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_zed +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_zftp +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_zle +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_zmodload +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_zmv +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_zpty +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/Zsh/_zstyle +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/bashcompinit +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/compaudit +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/compdump +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/compinit +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Completion/compinstall +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Exceptions/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Exceptions/catch +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Exceptions/throw +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/MIME/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/MIME/pick-web-browser +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/MIME/zsh-mime-handler +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/MIME/zsh-mime-setup +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Misc/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/add-zsh-hook +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/allopt +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/checkmail +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/colors +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/getjobs +-rwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Misc/harden +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/is-at-least +-rwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Misc/mere +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/nslookup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/promptnl +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/relative +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/run-help +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/run-help-git +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/run-help-svk +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/run-help-svn +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/sticky-note +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/tetris +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/xtermctl +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/zargs +-rwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Misc/zcalc +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/zed +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/zkbd +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/zmathfuncdef +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/zmv +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/zrecompile +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Misc/zstyle+ +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Newuser/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Newuser/zsh-newuser-install +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Prompts/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_adam1_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_adam2_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_bart_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_bigfade_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_clint_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_elite2_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_elite_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_fade_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_fire_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_off_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_oliver_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_pws_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_redhat_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_special_chars +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_suse_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_walters_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/prompt_zefram_setup +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Prompts/promptinit +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/TCP/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_alias +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_close +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_command +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_expect +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_fd_handler +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_log +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_open +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_output +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_point +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_proxy +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_read +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_rename +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_send +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_sess +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_shoot +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_spam +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_talk +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/TCP/tcp_wait +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/VCS_Info/ +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_detect_bzr +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_detect_cdv +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_detect_cvs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_detect_darcs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_detect_git +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_detect_hg +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_detect_mtn +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_detect_p4 +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_detect_svk +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_detect_svn +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_detect_tla +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_get_data_bzr +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_get_data_cdv +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_get_data_cvs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_get_data_darcs +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_get_data_git +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_get_data_hg +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_get_data_mtn +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_get_data_p4 +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_get_data_svk +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_get_data_svn +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/Backends/VCS_INFO_get_data_tla +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/VCS_INFO_adjust +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/VCS_INFO_bydir_detect +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/VCS_INFO_check_com +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/VCS_INFO_formats +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/VCS_INFO_get_cmd +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/VCS_INFO_maxexports +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/VCS_INFO_nvcsformats +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/VCS_INFO_realpath +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/VCS_INFO_reposub +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/VCS_INFO_set +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/vcs_info +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/vcs_info_lastmsg +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/vcs_info_printsys +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/VCS_Info/vcs_info_setsys +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Zftp/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfanon +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfautocheck +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfcd +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfcd_match +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfcget +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfclose +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfcput +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfdir +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zffcache +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfgcp +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfget +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfget_match +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfgoto +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfhere +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfinit +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfls +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfmark +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfopen +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfparams +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfpcp +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfput +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfrglob +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfrtime +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfsession +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfstat +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zftp_chpwd +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zftp_progress +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zftransfer +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zftype +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfuget +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zftp/zfuput +drwxr-xr-x root/root usr/share/zsh/4.3.10/functions/Zle/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/backward-kill-word-match +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/backward-word-match +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/capitalize-word-match +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/copy-earlier-word +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/cycle-completion-positions +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/define-composed-chars +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/delete-whole-word-match +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/down-case-word-match +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/down-line-or-beginning-search +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/edit-command-line +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/forward-word-match +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/history-beginning-search-menu +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/history-pattern-search +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/history-search-end +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/incarg +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/incremental-complete-word +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/insert-composed-char +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/insert-files +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/insert-unicode-char +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/keeper +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/keymap+widget +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/kill-word-match +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/match-word-context +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/match-words-by-style +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/modify-current-argument +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/narrow-to-region +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/narrow-to-region-invisible +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/predict-on +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/quote-and-complete-word +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/read-from-minibuffer +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/replace-string +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/replace-string-again +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/select-word-style +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/smart-insert-last-word +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/split-shell-arguments +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/transpose-words-match +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/up-case-word-match +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/up-line-or-beginning-search +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/url-quote-magic +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/which-command +-rw-r--r-- root/root usr/share/zsh/4.3.10/functions/Zle/zed-set-file-name +drwxr-xr-x root/root usr/share/zsh/4.3.10/scripts/ +-rw-r--r-- root/root usr/share/zsh/4.3.10/scripts/newuser +drwxr-xr-x root/root usr/share/zsh/site-functions/ diff --git a/zsh/.md5sum b/zsh/.md5sum new file mode 100644 index 0000000..d925b18 --- /dev/null +++ b/zsh/.md5sum @@ -0,0 +1,2 @@ +74c5b275544400082a1cde806c98682a zsh-4.3.10.tar.bz2 +d7b586ffa91bb63356ed0080699cef93 zsh-lovers.1 diff --git a/zsh/.sha256sum b/zsh/.sha256sum new file mode 100644 index 0000000..f8908dd --- /dev/null +++ b/zsh/.sha256sum @@ -0,0 +1,2 @@ +63fdc0273eadbb42d164f38b0b79922c0b3df0e97084e746a318276d935a4f7c zsh-4.3.10.tar.bz2 +f5328f652a7650db93b1f844adf275316eb17143d1c4e48969f12c7d6806cddd zsh-lovers.1 diff --git a/zsh/Pkgfile b/zsh/Pkgfile new file mode 100644 index 0000000..aba64ec --- /dev/null +++ b/zsh/Pkgfile @@ -0,0 +1,40 @@ +description="Very powerfull shell, the Z SHell." +packager="Tilman Sauerbeck <tilman AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" +url="http://www.zsh.org" +depends=(libpcre) + +name=zsh +version=4.3.10 +release=2 +source=( + http://www.zsh.org/pub/$name-$version.tar.bz2 + zsh-lovers.1 +) +build () +{ + cd $name-$version; + ./configure \ + --prefix=$prefix \ + --bindir=${bindir/$prefix} \ + --libdir=$libdir \ + --mandir=$mandir \ + --enable-etcdir=$sysconfdir/zsh \ + --enable-zshrc=$sysconfdir/zshrc \ + --enable-zshlogin=$sysconfdir/zsh/zshlogin \ + --enable-zshenv=$sysconfdir/zsh/zshenv \ + --enable-fndir=$sharedir/zsh/$version/functions \ + --enable-site-fndir=$sharedir/zsh/site-functions \ + --enable-zsh-mem \ + --enable-maildir-support \ + --enable-function-subdirs \ + --enable-pcre \ + --enable-restricted-r \ + --enable-lfs \ + --enable-cap \ + --with-curses-terminfo; + make; + make DESTDIR=$PKG install; + install -m 644 $SRC/zsh-lovers.1 $PKG$mandir/man1/; + rm $PKG$sharedir/zsh/$version/functions/Completion/Unix/_pkg{add,rm,info} +} diff --git a/zsh/Pkgfile.old b/zsh/Pkgfile.old new file mode 100644 index 0000000..c114fa0 --- /dev/null +++ b/zsh/Pkgfile.old @@ -0,0 +1,40 @@ +# Description: Very powerfull shell +# URL: http://www.zsh.org/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: libpcre + +name=zsh +version=4.3.10 +release=2 +source=(http://www.zsh.org/pub/$name-$version.tar.bz2 \ + zsh-lovers.1) + +build() { + cd $name-$version + + ./configure \ + --prefix=/usr \ + --mandir=/usr/man \ + --enable-etcdir=/etc/zsh \ + --enable-zshrc=/etc/zsh/zshrc \ + --enable-zshlogin=/etc/zsh/zshlogin \ + --enable-zshenv=/etc/zsh/zshenv \ + --enable-fndir=/usr/share/zsh/$version/functions \ + --enable-site-fndir=/usr/share/zsh/site-functions \ + --enable-zsh-mem \ + --enable-maildir-support \ + --enable-function-subdirs \ + --enable-pcre \ + --enable-restricted-r \ + --enable-lfs \ + --enable-cap \ + --with-curses-terminfo + make + make DESTDIR=$PKG install + + install -m 644 $SRC/zsh-lovers.1 $PKG/usr/man/man1/ + + # These completion files break things for CRUX' pkgutils, + # so remove them for now (see bug #381). + rm $PKG/usr/share/zsh/$version/functions/Completion/Unix/_pkg{add,rm,info} +} diff --git a/zsh/README b/zsh/README new file mode 100644 index 0000000..e972278 --- /dev/null +++ b/zsh/README @@ -0,0 +1,16 @@ + +REQUIREMENTS + +PRE-INSTALL + +POST-INSTALL + +PRECAUTION + + If you don't remove libpcre before building this port libpcre will + be a runtime dependency of zsh. This is a problem on systems where + zsh needs to be available at boot before the directory containing + libpcre.so is mounted. + +MISC + zsh-lovers.1 is taken from http://www.grml.org/zsh/zsh-lovers.1 diff --git a/zsh/zsh-lovers.1 b/zsh/zsh-lovers.1 new file mode 100644 index 0000000..7ae00f4 --- /dev/null +++ b/zsh/zsh-lovers.1 @@ -0,0 +1,1753 @@ +.\" Title: zsh-lovers +.\" Author: +.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/> +.\" Date: 03/12/2009 +.\" Manual: +.\" Source: +.\" +.TH "ZSH\-LOVERS" "1" "03/12/2009" "" "" +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.SH "NAME" +zsh-lovers \- tips, tricks and examples for the Z shell +.SH "SYNOPSIS" +Just read it\&. ;\-) +.sp +.SH "OVERVIEW" +Whenever we look at the zsh manual we wonder why there are no examples or those simply things in (shell) life\&. The zsh contains many features, but there was no manpage with some examples (like procmailex(5))\&. That\'s why we wrote this manpage\&. +.sp +Most of the tricks and oneliner come from the mailinglists zsh\-users, zsh\-workers, google, newsgroups and from ourself\&. See section \fBLINKS\fR for details\&. +.sp +Note: This manpage (zsh\-lovers(1)) is \fBnot\fR an offical 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 \fBBUGS\fR\&. +.sp +.SH "SHELL-SCRIPTING" +This section provides some examples for often needed shellscript\-stuff\&. Notice that you should not use otherwise most examples won\'t work\&. Parse options in shellscripts\&. Example taken from ZWS by Adam Chodorowski (http://www\&.chodorowski\&.com/projects/zws/): +.sp +.sp +.RS 4 +.nf +parse_options() +{ + o_port=(\-p 9999) + o_root=(\-r WWW) + o_log=(\-d ZWS\&.log) + + zparseopts \-K \-\- p:=o_port r:=o_root l:=o_log h=o_help + if [[ $? != 0 || "$o_help" != "" ]]; then + echo Usage: $(basename "$0") "[\-p PORT] [\-r DIRECTORY]" + exit 1 + fi + + port=$o_port[2] + root=$o_root[2] + log=$o_log[2] + + if [[ $root[1] != \'/\' ]]; then root="$PWD/$root"; fi +} +# now use the function: +parse_options $* +.fi +.RE +.SH "EXAMPLES" +Available subsections are \fBAliases\fR, \fBCompletion\fR, \fBUnsorted/Misc examples\fR, \fB(Recursive) Globbing \- Examples\fR, \fBModifiers usage\fR, \fBRedirection\-Examples\fR, \fBZMV\-Examples\fR and \fBModule\-Examples\fR\&. +.sp +.SS "ALIASES" +Suffix aliases are supported in zsh since version 4\&.2\&.0\&. Some examples: +.sp +.sp +.RS 4 +.nf +alias \-s tex=vim +alias \-s html=w3m +alias \-s org=w3m +.fi +.RE +Now pressing return\-key after entering \fIfoobar\&.tex\fR starts vim with foobar\&.tex\&. Calling a html\-file runs browser w3m\&. \fIwww\&.zsh\&.org\fR and pressing enter starts w3m with argument www\&.zsh\&.org\&. Global aliases can be used anywhere in the command line\&. Example: +.sp +.sp +.RS 4 +.nf +$ alias \-g C=\'| wc \-l\' +$ grep alias ~/\&.zsh/* C +443 +.fi +.RE +Some more or less useful global aliases (choose whether they are useful or not for you on your own): +.sp +.sp +.RS 4 +.nf +alias \-g \&.\&.\&.=\'\&.\&./\&.\&.\' +alias \-g \&.\&.\&.\&.=\'\&.\&./\&.\&./\&.\&.\' +alias \-g \&.\&.\&.\&.\&.=\'\&.\&./\&.\&./\&.\&./\&.\&.\' +alias \-g CA="2>&1 | cat \-A" +alias \-g C=\'| wc \-l\' +alias \-g D="DISPLAY=:0\&.0" +alias \-g DN=/dev/null +alias \-g ED="export DISPLAY=:0\&.0" +alias \-g EG=\'|& egrep\' +alias \-g EH=\'|& head\' +alias \-g EL=\'|& less\' +alias \-g ELS=\'|& less \-S\' +alias \-g ETL=\'|& tail \-20\' +alias \-g ET=\'|& tail\' +alias \-g F=\' | fmt \-\' +alias \-g G=\'| egrep\' +alias \-g H=\'| head\' +alias \-g HL=\'|& head \-20\' +alias \-g Sk="*~(*\&.bz2|*\&.gz|*\&.tgz|*\&.zip|*\&.z)" +alias \-g LL="2>&1 | less" +alias \-g L="| less" +alias \-g LS=\'| less \-S\' +alias \-g MM=\'| most\' +alias \-g M=\'| more\' +alias \-g NE="2> /dev/null" +alias \-g NS=\'| sort \-n\' +alias \-g NUL="> /dev/null 2>&1" +alias \-g PIPE=\'|\' +alias \-g R=\' > /c/aaa/tee\&.txt \' +alias \-g RNS=\'| sort \-nr\' +alias \-g S=\'| sort\' +alias \-g TL=\'| tail \-20\' +alias \-g T=\'| tail\' +alias \-g US=\'| sort \-u\' +alias \-g VM=/var/log/messages +alias \-g X0G=\'| xargs \-0 egrep\' +alias \-g X0=\'| xargs \-0\' +alias \-g XG=\'| xargs egrep\' +alias \-g X=\'| xargs\' +.fi +.RE +.SS "COMPLETION" +See also man 1 zshcompctl zshcompsys zshcompwid\&. zshcompctl is the old style of zsh programmable completion, zshcompsys is the new completion system, zshcompwid are the zsh completion widgets\&. +.sp +Some functions, like _apt and _dpkg, are very slow\&. You can use a cache in order to proxy the list of results (like the list of available debian packages) Use a cache: +.sp +.sp +.RS 4 +.nf +zstyle \':completion:*\' use\-cache on +zstyle \':completion:*\' cache\-path ~/\&.zsh/cache +.fi +.RE +Prevent CVS files/directories from being completed: +.sp +.sp +.RS 4 +.nf +zstyle \':completion:*:(all\-|)files\' ignored\-patterns \'(|*/)CVS\' +zstyle \':completion:*:cd:*\' ignored\-patterns \'(*/)#CVS\' +.fi +.RE +Fuzzy matching of completions for when you mistype them: +.sp +.sp +.RS 4 +.nf +zstyle \':completion:*\' completer _complete _match _approximate +zstyle \':completion:*:match:*\' original only +zstyle \':completion:*:approximate:*\' max\-errors 1 numeric +.fi +.RE +And if you want the number of errors allowed by _approximate to increase with the length of what you have typed so far: +.sp +.sp +.RS 4 +.nf +zstyle \-e \':completion:*:approximate:*\' \e + max\-errors \'reply=($((($#PREFIX+$#SUFFIX)/3))numeric)\' +.fi +.RE +Ignore completion functions for commands you don\'t have: +.sp +.sp +.RS 4 +.nf +zstyle \':completion:*:functions\' ignored\-patterns \'_*\' +.fi +.RE +With helper functions like: +.sp +.sp +.RS 4 +.nf +xdvi() { command xdvi ${*:\-*\&.dvi(om[1])} } +.fi +.RE +you can avoid having to complete at all in many cases, but if you do, you might want to fall into menu selection immediately and to have the words sorted by time: +.sp +.sp +.RS 4 +.nf +zstyle \':completion:*:*:xdvi:*\' menu yes select +zstyle \':completion:*:*:xdvi:*\' file\-sort time +.fi +.RE +Completing process IDs with menu selection: +.sp +.sp +.RS 4 +.nf +zstyle \':completion:*:*:kill:*\' menu yes select +zstyle \':completion:*:kill:*\' force\-list always +.fi +.RE +If you end up using a directory as argument, this will remove the trailing slash (usefull in ln) +.sp +.sp +.RS 4 +.nf +zstyle \':completion:*\' squeeze\-slashes true +.fi +.RE +cd will never select the parent directory (e\&.g\&.: cd \&.\&./<TAB>): +.sp +.sp +.RS 4 +.nf +zstyle \':completion:*:cd:*\' ignore\-parents parent pwd +.fi +.RE +Another method for \fIquick change directories\fR\&. Add this to your ~/\&.zshrc, then just enter \(lqcd \&...\&./dir\(rq +.sp +.sp +.RS 4 +.nf +rationalise\-dot() { + if [[ $LBUFFER = *\&.\&. ]]; then + LBUFFER+=/\&.\&. + else + LBUFFER+=\&. + fi +} +zle \-N rationalise\-dot +bindkey \&. rationalise\-dot +.fi +.RE +.SS "UNSORTED/MISC examples" +Hint: A list of valid glob Qualifiers can be found in zshexpn(1)\&. See \(lqman 1 zshexpn | less \-p\(rq Qualifiers for details\&. +.sp +.sp +.RS 4 +.nf +# Get the names of all files that *don\'t* match a pattern *anywhere* on the +# file (and without ``\-L\'\' because its GNUish) + $ print \-rl \-\- *(\&.^e{\'grep \-q pattern $REPLY\'}) + # or + $ : *(\&.e{\'grep \-q pattern $REPLY || print \-r \-\- $REPLY\'}) + +# random numbers + $ echo $[${RANDOM}%1000] # random between 0\-999 + $ echo $[${RANDOM}%11+10] # random between 10\-20 + $ echo ${(l:3::0:)${RANDOM}} # N digits long (3 digits) + +# reverse a word + $ echo "${(j::)${(@Oa)${(s::):\-hello}}}" + +# Show newest directory + $ ls \-ld *(/om[1]) + +# random array element + $ FILES=( \&.\&.\&./files/* ) + $ feh $FILES[$RANDOM%$#FILES+1] + +# cat first line in all files in this dir + $ for file (*(ND\-\&.)) IFS= read \-re < $file + +# test if a parameter is numeric + $ if [[ $1 == <\-> ]] ; then + echo numeric + else + echo non\-numeric + fi + +# Show me all the \&.c files for which there doesn\'t exist a \&.o file\&. + $ print *\&.c(e_\'[[ ! \-e $REPLY:r\&.o ]]\'_) + +# All files in /var/ that are not owned by root + $ ls \-ld /var/*(^u:root) + +# All files for which the owner hat read and execute permissions + $ echo *(f:u+rx:) + +# The same, but also others dont have execute permissions + $ echo *(f:u+rx,o\-x:) + +# brace expansion \- example + $ X=(A B C) + $ Y=(+ \-) + $ print \-r \-\- $^X\&.$^Y + A\&.+ A\&.\- B\&.+ B\&.\- C\&.+ C\&.\- + +# Fetch the newest file containing the string \'fgractg*\&.log\' in the +# filename and contains the string \'ORA\-\' in it + $ file=(fgractg*\&.log(Nm0om[1])) + $ (($#file)) && grep \-l ORA\- $file + # without Zsh + $ files=$( find \&. \-name \&. \-o \-prune \-name \'fgractg*>log\' \-mtime 0 \-print ) + > if [ \-n "$files" ]; then + > IFS=\' + > \' + > set \-f + > file=$(ls \-td $files | head \-1) + > grep \-l ORA\- "$file" + > fi + +# keep specified number of child processes running until entire task finished + $ zsh \-c \'sleep 1 & sleep 3 & sleep 2& print \-rl \-\- $jobtexts\' + +# Remove zero length and \&.bak files in a directory + $ rm \-i *(\&.L0) *\&.bak(\&.) + +# print out files that dont have extensions + $ printf \'%s\en\' ^?*\&.* + $ printf \'%s\en\' ^?*\&.[^\&.]*(D) + $ ls \-d \-\- ^?*\&.*(D) + +# Finding files which does not contain a specific string + $ print \-rl file* | comm \-2 \-3 \- <(grep \-l string file*)\' + $ for f (file*(N)) grep \-q string $f || print \-r $f\' + +# Show/Check whether a option is set or not\&. It works both with $options as +# with $builtins + $ echo $options[correct] + off + $ $options[zle] + on + +# Count the number of directories on the stack + $ print $((${${(z)${(f)"$(dirs \-v)"}[\-1]}[1]} + 1)) # or + $ dirs \-v | awk \'{n=$1}END{print n+1}\' + +# Matching all files which do not have a dot in filename + $ ls *~*\&.*(\&.) + +# Show only the ip\-address from ``ifconfig device\'\' + # ifconfig from net\-tools (Linux) + $ print ${${$(LC_ALL=C /sbin/ifconfig eth0)[7]}:gs/addr://} + # ifconfig from 4\&.2BSD {Free,Net,Open}BSD + $ print ${$(/sbin/ifconfig tun0)[6]} + +# Ping all the IP addresses in a couple of class C\'s or all hosts +# into /etc/hosts + $ for i in {1\&.\&.254}; do ping \-c 1 192\&.168\&.13\&.$i; done + or + $ I=1 + $ while ( [[ $I \-le 255 ]] ) ; do ping \-1 2 150\&.150\&.150\&.$I; let I++; done + or + $ for i in $(sed \'s/#\&.*//\' > /etc/hosts | awk \'{print $2}\') + : do + : echo "Trying $i \&.\&.\&. " + : ping \-c 1 $i ; + : echo \'=============================\' + : done + +# load all available modules at startup + $ typeset \-U m + $ m=() + $ for md ($module_path) m=($m $md/**/*(*e:\'REPLY=${REPLY#$md/}\'::r)) + $ zmodload \-i $m + +# Rename all files within a directory such that their names get a numeral +# prefix in the default sort order\&. + $ i=1; for j in *; do mv $j $i\&.$j; ((i++)); done + $ i=1; for f in *; do mv $f $(echo $i | \e + awk \'{ printf("%03d", $0)}\')\&.$f; ((i++)); done + $ integer i=0; for f in *; do mv $f $[i+=1]\&.$f; done + +# Find (and print) all symbolic links without a target within the current +# dirtree\&. + $ $ file **/*(D@) | fgrep broken + $ for i in **/*(D@); [[ \-f $i || \-d $i ]] || echo $i + $ echo **/*(@\-^\&./=%p) + $ print \-l **/*(\-@) + +# List all plain files that do not have extensions listed in `fignore\' + $ ls **/*~*(${~${(j/|/)fignore}})(\&.) + # see above, but now omit executables + $ ls **/*~*(${~${(j/|/)fignore}})(\&.^*) + +# Print out files that dont have extensions (require *setopt extendedglob* +# and *setopt dotglob*) + $ printf \'%s\en\' ^?*\&.* + +# List files in reverse order sorted by name + $ print \-rl \-\- *(On) + or + $ print \-rl \-\- *(^on) + +# Synonymic to ``ps ax | awk \'{print $1}\'\'\' + $ print \-l /proc/*/cwd(:h:t:s/self//) + +# Get the PID of a process (without ``ps\'\', ``sed\'\', ``pgrep\'\', \&.\&. +# (under Linux) + $ pid2 () { + > local i + > for i in /proc/<\->/stat + > do + > [[ "$(< $i)" = *\e((${(j:|:)~@})\e)* ]] && echo $i:h:t + > done + > } + +# for X in \'n\' \'o\' \'p\' \'q\' \'r\' \'s\' \'t\' \'u\' \'v\' \'w\' \'x\' \'y\'; do \&.\&.\&. + $ for (( i = 36#n; i <= 36#y; i++ )); do + > print ${$(([##36]i)):l} + > done +# or in combination with ``dc\'\' + $ print {$((##n))\&.\&.$((##y))}P\e 10P | dc +# or with ``eval\'\' + $ eval print \'${$(([##36]\'{$((36#n))\&.\&.$((36#y))}\')):l}\' + +# foreach in one line of shell + $ for f (*) print \-r \-\- $f + +# copy a directory recursively without data/files + $ dirs=(**/*(/)) + $ cd \-\- $dest_root + $ mkdir \-p \-\- $dirs +# or without zsh + $ find \&. \-type d \-exec env d="$dest_root" \e + sh \-c \' exec mkdir \-p \-\- "$d/$1"\' \'{}\' \'{}\' \e; + +# If `foo=23\'\', then print with 10 digit with leading \'0\'\&. + $ foo=23 + $ 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 + print \-rl $HOME/${(l:20::?:)~:\-}* + +# Save arrays + $ print \-r \-\- ${(qq)m} > $nameoffile # save it + $ eval "m=($(cat \-\- $nameoffile)" # or use + $ m=("${(@Q)${(z)"$(cat \-\- $nameoffile)"}}") # to restore it + +# get a "ls \-l" on all the files in the tree that are younger than a +# specified age (e\&.g "ls \-l" all the files in the tree that where +# modified in the last 2 days) + $ ls \-tld **/*(m\-2) +# This will give you a listing 1 file perl line (not à la ls \-R)\&. +# Think of an easy way to have a "ls \-R" style output with +# only files newer than 2 day old\&. + $ for d (\&. \&./**/*(/)) { + > print \-r \-\- $\'\en\'${d}: + > cd $d && { + > l=(*(Nm\-2)) + > (($#l)) && ls \-ltd \-\- $l + > cd ~\- + > } + > } +# If you also want directories to be included even if their mtime +# is more than 2 days old: + $ for d (\&. \&./**/*(/)) { + > print \-r \-\- $\'\en\'${d}: + > cd $d && { + > l=(*(N/,m\-2)) + > (($#l)) && ls \-ltd \-\- $l + > cd ~\- + > } + > } +# And if you want only the directories with mtime < 2 days to be listed: + $ for d (\&. \&./**/*(N/m\-2)) { + > print \-r \-\- $\'\en\'${d}: + > cd $d && { + > l=(*(Nm\-2)) + > (($#l)) && ls \-ltd \-\- $l + > cd ~\- + > } + > } + +# print 42 ``\-\'\' + $ echo ${(l:42::\-:)} +# or use ``$COLUMS\'\' + $ echo ${(l:$COLUMNS::\-:)} +# and now with colors (require autoload colors ;colors) + $ echo "$bg[red]$fg[black]${(l:42::\-:)}" + +# Redirect STDERR to a command like xless without redirecting STDOUT as well\&. + $ foo 2>>(xless) +# but this executes the command asynchronously\&. To do it synchronously: + $ { { foo 1>&3 } 2>&1 | xless } 3>&1 + +# Rename all MP3\-Files from name with spaces\&.mp3 to Name With Spaces\&.mp3 + $ for i in *\&.mp3; do + > mv $i ${${(C)i}:s/Mp3/mp3/} + > done + +# Match file names containing only digits and ending with \&.xml (require +# *setopt kshglob*) + $ ls \-l [0\-9]##\&.xml + $ ls \-l <0\->\&.xml + +# Remove all "non txt" files + $ rm \&./^*\&.txt + +# Move 200 files from a directory into another + $ mv \-\- *([1,200]) /another/Dir + +# Convert images (foo\&.gif => foo\&.png): + $ for i in **/*\&.gif; convert $i $i:r\&.png + +# convert a collection of mp3 files to wave or cdr, +# e\&.g\&. file\&.wav \-> file\&.mp3) + $ 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 + > lynx \-source $f >${f:t} + > done + +# Move all files in dir1 and dir2 that have line counts greater than 10 to +# another directory say "/more10" + $ mv dir[12]/**/*\&.cr(\-\&.e{\'((`wc \-l < $REPLY` > 10))\'}) /more10 + +# Make with dpkg a master\-list of everyfile that it has installed + $ diff <(find / | sort) <(cat /var/lib/dpkg/info/*\&.list | sort) + +# Replace this fucking Escape\-Sequences: + $ autoload colors ; colors + $ print "$bg[cyan]$fg[blue]You are a idiot" >> /dev/pts/3 + +# Get ASCII value of a character + $ char=N ; print $((#char)) + +# Filename "Erweiterung" +# Note: The (N) says to use the nullglob option for this particular +# glob pattern\&. + $ for i in *\&.o(N); do + > rm $i + > done + +# Rename files; i\&. e\&. FOO to foo and bar to BAR + $ for i in *(\&.); mv $i ${i:l} # `FOO\' to `foo\' + $ for i in *(\&.); mv $i ${i:u} # `bar to `BAR\' + +# Show all suid\-files in $PATH + $ ls \-latg ${(s\&.:\&.)PATH} | grep \'^\&.\&.\&.s\' +# or more complex ;) + $ print \-l ${^path}/*(Ns,S) +# or show only executables with a user given pattern + $ print \-l ${^path}/*vim*(*N) + +# gzip files when containing a certain string + $ gzip ${(ps:\e0:)"$(grep \-lZ foobar \&./*\&.txt(\&.))"} + +# A small one\-liner, that reads from stdin and prints to stdout the first +# unique line i\&. e\&. does not print lines that have been printed before +# (this is similar to the unique command, but unique can only handle +# adjacent lines)\&. + $ IFS=$\'\en\en\'; print \-rl \-\- ${(Oau)${(Oa)$(cat file;echo \&.)[1,\-2]}} + +# Lists every executable in PATH + $ print \-l ${^path}/*(\-*N) + +# Match all \&.c files in all subdirectories, _except_ any SCCS subdirectories? + $ ls **/*\&.c~(*/)#SCCS/* + +# List all `README\' \- files case\-insensitive with max\&. one typo + $ ls **/*(#ia2)readme + +# case insensitive checking for variables + $ if [[ $OSTYPE == (#i)LINUX*(#I) ]]; then + > echo "Penguin on board\&." + > else + > echo "Not a Linux\&." + > fi +.fi +.RE +.SS "(Recursive) Globbing \- Examples" +A list of valid glob Qualifiers can be found in zshexpn(1)\&. \fBNote:\fR **/ is equivalent to (*/)#! For example: +.sp +.sp +.RS 4 +.nf +$ print (*/)#zsh_us\&.ps +zsh\-4\&.2\&.3/Doc/zsh_us\&.ps +$ print **/zsh_us\&.ps +zsh\-4\&.2\&.3/Doc/zsh_us\&.ps +.fi +.RE +.sp +.RS 4 +.nf +# Search for `README\' in all Subdirectories + $ ls \-l **/README + +# find directories that contain both "index\&.php" and "index\&.html", or in +# general, directories that contain more than one file matching "index\&.*" + $ ls **/*(D/e:\'[[ \-e $REPLY/index\&.php && \-e $REPLY/index\&.html ]]\':) + # or + $ ls **/*(D/e:\'l=($REPLY/index\&.*(N)); (( $#l >= 2 ))\':) + +# Find command to search for directory name instead of basename + $ print \-rl /**/*~^*/path(|/*) + # or \- without Zsh + $ find / | grep \-e /path/ \-e \'/path$\' + +# Print he path of the directories holding the ten biggest C regular files +# in the current directory and subdirectories\&. + $ print \-rl \-\- **/*\&.c(D\&.OL[1,10]:h) | sort \-u + +# Find files with size == 0 and send a mail + $ files=(**/*(ND\&.L0m+0m\-2)) + > (( $#files > 0 )) && print \-rl \-\- $files | \e + mailx \-s "empty files" foo@bar\&.tdl + +# recursive chmod + $ chmod 700 **/(\&.) # Only files + $ chmod 700 **/(/) # Only directories + +# print out all of the files in that directory in 2 columns + $ print \-rC2 \-\- ${1:[\&.\&.\&.]}/*(D:t) +# ^\- number ob columns +# or \- if you feel concerned about special characters \- use + $ list=(${1:[\&.\&.\&.]}/*(ND:t)) + $ (($#list)) && print \-rC2 \-\- ${(V)list} + +# Search all files in /home/*/*\-mail/ with a setting ``chmod \-s\'\' flag +# (recursive, include dotfiles) remove the setgid/setuid flag and print +# a message + $ chmod \-s /home/*/*\-mail(DNs,S) /home/*/*\-mail/**/*(DNs,S)) +# or with a small script + $ for file (/home/*/*\-mail(DNs,S) /home/*/*\-mail/**/*(DNs,S)) { + > print \-r \-\- $file + > chmod \-s $file && print \-r fixed $file + > } +# or use ``zargs\'\' (require autoload zargs) prevent the arg list too +# long error + $ zargs /home/*/*\-mail(DNs,S) /home/*/*\-mail/**/*(DNs,S)) \-\- chmod \-s + +# List files beginning at `foo23\' upwards (foo23, foo24, foo25, \&.\&.) + $ ls \-l foo<23\-> + +# get all files that begin with the date strings from June 4 through +# June 9 of 2004 + $ ls \-l 200406{04\&.\&.10}*(N) +# or if they are of the form 200406XX (require ``setopt extended_glob\'\' + $ ls \-l 200306<4\-10>\&.* + +# remove spaces from filenames + $ for a in \&./**/*\e *(Dod); do mv $a ${a:h}/${a:t:gs/ /_}; done + +# Show only all *\&.c and *\&.h \- Files + $ ls \-l *\&.(c|h) + +# Show only all *\&.c \- files and ignore `foo\&.c\' + $ ls *\&.c~foo\&.c + +# show data to *really* binary format + $ zsh \-ec \'while {} {printf %\&.8x $n;repeat 8 \e + > {read \-ku0 a printf \e %\&.8d $(([##2]#a))};print;((n+=8))}\' < binary + +# Show only world\-readable files + $ ls \-l *(R) + +# List files in the current directory are not writable by the owner + $ print \-l ~/*(ND\&.^w) + +# find and delete the files which are older than a given parameter +# (seconds/minutes/hours) + # deletes all regular file in /Dir that are older than 3 hours + $ rm \-f /Dir/**/*(\&.mh+3) + # deletes all symlinks in /Dir that are older than 3 minutes + $ rm \-f /Dir/**/*(@mm+3) + # deletes all non dirs in /Dir that are older than 30 seconds + $ rm \-f /Dir/**/*(ms+30^/) + # deletes all folders, sub\-folders and files older than one hour + $ rm \&./**/*(\&.Dmh+1,\&.DL0) + # deletes all files more than 6 hours old + $ rm \-f **/*(mh+6) + # removes all files but the ten newer ones (delete all but last 10 + # files in a directory) + $ rm \&./*(Om[1,\-11]) + Note: If you get a arg list too long, you use the builtin rm\&. For + example: + $ zmodload zsh/files ; rm \-f **/*(mh+6) + or use the zargs function: + $ autoload zargs ; zargs **/*(mh+6) \-\- rm \-f + +# A User\'s Guide to the Z\-Shell /5\&.9: Filename Generation and Pattern +# Matching find all files in all subdirectories, searching recursively, +# which have a given name, case insensitive, are at least 50 KB large, +# no more than a week old and owned by the root user, and allowing up +# to a single error in the spelling of the name\&. In fact, the required +# expression looks like this: + $ ls **/(#ia1)name(LK+50mw\-1u0) + +# Change the UID from 102 to 666 + $ chown 666 **/*(u102) + +# List all files which have not been updated since last 10 hours + $ print \-rl \-\- *(Dmh+10^/) + +# delete only the oldest file in a directory + $ rm \&./*filename*(Om[1]) + +# Sort the output from `ls \-l\' by file size + $ ls \-fld *(OL) + +# find most recent file in a directory + $ setopt dotglob ; print directory/**/*(om[1]) + +# Show only empty files which nor `group\' or `world writable\' + $ ls *(L0f\&.go\-w\&.) + +# Find \- and list \- the ten newest files in directories and subdirs\&. +# (recursive) + $ print \-rl \-\- **/*(Dom[1,10]) + +# Print only 5 lines by "ls" command (like ``ls \-laS | head \-n 5\'\')\&. + $ ls \-fl *(DOL[1,5]) + +# Display the 5\-10 last modified files\&. + $ print \-rl \-\- /path/to/dir/**/*(D\&.om[5,10]) + +# Find all files without a valid owner\&. + $ chmod someuser /**/*(D^u:${(j\&.:u:\&.)${(f)"$(</etc/passwd)"}%%:*}:) + +# Find all the empty directories in a tree\&. + $ for f in ***/*(/l2); do foo=($f/*(N)); [[ \-z $foo ]] && print $f; done +# Note:Since Zsh 4\&.2\&.1 the glob qualifier F indicates a non\-empty directory\&. +# Hence *(F) indicates all subdirectories with entries, *(/^F) means all +# subdirectories with no entries\&. + $ ls \-ld *(/^F) + +# Remove empty directories afterwards\&. + $ rmdir \&./**/*(/od) 2> /dev/null + +# Show only files which are owned by group `users\'\&. + $ ls \-l *(G[users]) +.fi +.RE +.SS "Modifiers usage" +Modifiers are a powerful mechanism that let you modify the results returned by parameter, filename and history expansion\&. See zshexpn(1) for details\&. +.sp +.sp +.RS 4 +.nf +# NOTE: Zsh 4\&.3\&.4 needed! + $ autoload \-U age +# files modified today + $ print *(e:age today now:) +# files modified since 5 pm + $ print *(e\-age 17:00 now\-) +# \&.\&.\&. since 5 o\'clock yesterda + $ print *(e\-age yesterday,17:00 now\-) +# \&.\&.\&. from last Christmas before today + $ print *(e\-age 2006/12/25 today\-) +# \&.\&.\&. before yesterday + $ print *(e\-age 1970/01/01 yesterday\-) +# all files modified between the start of those dates + $ print *(e:age 2006/10/04 2006/10/09:) +# all files modified on that date + $ print *(e:age 2006/10/04:) +# Supply times\&. + $ print *(e\-age 2006/10/04:10:15 2006/10/04:10:45\-) + +# Remove a trailing pathname component, leaving the head\&. This works like +# `dirname\'\&. + $ echo =ls(:h) + /bin + +# Remove all leading pathname components, leaving the tail\&. This works +# like `basename\'\&. + $ echo =ls(:t) + ls + +# Remove the suffix from each file (*\&.sh in this example) + $f:e is $f file extension + :h \-\-> head (dirname) + :t \-\-> tail (basename) + :r \-\-> rest (extension removed) + $ for f (*\&.sh) mv $f $f:r + +# Remove a filename extension of the form `\&.xxx\', leaving the root name\&. + $ echo $PWD + /usr/src/linux + $ echo $PWD:t + linux + +# Remove all but the extension\&. + $ foo=23\&.42 + $ echo $foo + 23\&.42 + $ echo $foo:e + 42 + +# Print the new command but do not execute it\&. Only works with history +# expansion\&. + $ echo =ls(:h) + /bin + $ !echo:p + $ echo =ls(:h) + +# Quote the substituted words, escaping further substitutions\&. + $ bar="23\'42" + $ echo $bar + 23\'42 + $ echo $bar:q + 23\e\'42 + +# Convert the words to all lowercase\&. + $ bar=FOOBAR + $ echo $bar + FOOBAR + $ echo $bar:l + foobar + +# Convert the words to all uppercase\&. + $ bar=foobar + $ echo $bar + foobar + $ echo $bar:u + FOOBAR + +# convert 1st char of a word to uppercase + $ foo="one two three four" + $ print \-r \-\- "${(C)foo}" + One Two Three Four +.fi +.RE +.SS "Redirection\-Examples" +See zshmisc(1) for more informations (or less ${^fpath}/zmv(N)) +.sp +.sp +.RS 4 +.nf +# Append `exit 1\' at the end of all *\&.sh \- files + $ echo "exit 1" >> *\&.sh + +# adding files to foobar\&.tar\&.gz + $ eval set =(gunzip < foobar\&.tar\&.gz) \' + tar rf $1 additional\&.txt &&gzip < $1 > foobar\&.tar\&.gz\' + +# Redirect output to a file AND display on screen + $ foobar >&1 > file1 > file2 > \&.\&. + +# pipe single output to multiple inputs + $ zcat foobar\&.Z >> (gzip \-9 > file1\&.gz) \e + >> (bzip2 \-9 > file1\&.bz2) \e + >> (acb \-\-best > file1\&.acb) + +# Append /etc/services at the end of file `foo\' and `bar\' + $ cat /etc/services >> foo >> bar + +# Pipe STDERR + $ echo An error >&2 2>&1 | sed \-e \'s/A/I/\' + +# send standard output of one process to standard input of several processes +# in the pipeline + $ setopt multios + $ process1 > >(process1) > >(process2) + +# initializing a variable and simultaneously keeping terminal output + $ setopt multios + $ { a=$(command >&1 >& 3 3 > &\- 2>&1);} 3>&1 + +# redirect stderr two times + $ setopt multios ; program 2> file2 > file1 2>&1 + +# Duplicating stdout and stderr to a logfile + $ exec 3>&1 > logfile 2>&2 2>&1 >&3 3>&\- + +# redirect stderr (only) to a file and to orig\&. stderr: + $ command 2>&2 2>stderr +# redirect stderr and stdout to separate files and both to orig\&. stdout: + $ command 2>&1 1>&1 2>stderr 1>stdout +# redirect stderr and stdout to separate files and stdout to orig\&. stdout +# AND stderr to orig\&. stderr: + $ command 2>&2 1>&1 2>stderr 1>stdout + +# More fun with STDERR ;) + $ \&./my\-script\&.sh 2> >(grep \-v moron >error\&.log)|process\-output >output\&.log + $ echo "Thats STDOUT" >>(sed \'s/stdout/another example/\' > foobar) +.fi +.RE +.SS "ZMV\-Examples (require autoload zmv)" +\fBNote:\fR \fI\-n\fR means no execution (just print what would happen)\&. At +.sp +.sp +.RS 4 +.nf +# Remove illegal characters in a fat32 file system\&. Illegal characters are +# / : ; * ? " < > | +# NOTE: ``\-Q\'\' and (D) is to include hidden files\&. + $ unwanted=\'[:;*?\e"<>|]\' + $ zmv \-Q "(**/)(*$~unwanted*)(D)" \'$1${2//$~unwanted/}\' + +# Changing part of a filename (i\&. e\&. "file\-hell\&.name" \-> "file\-heaven\&.name") + $ zmv \'(*)hell(*)\' \'${1}heaven${2}\' + # or + $ zmv \'*\' \'$f:s/hell/heaven/\' + +# remove round bracket within filenames +# i\&. e\&. foo\-(bar)\&.avi \-> foo\-bar\&.avi + $ zmv \'*\' \'${f//[()]/}\' + +# serially all files (foo\&.foo > 1\&.foo, fnord\&.foo > 2\&.foo, \&.\&.) + $ autoload zmv + $ ls * + 1\&.c asd\&.foo bla\&.foo fnord\&.foo foo\&.fnord foo\&.foo + $ c=1 zmv \'*\&.foo\' \'$((c++))\&.foo\' + $ 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 +# one!) with a space + $ touch {1\&.\&.20}\-file\&.with\&.many\&.dots\&.txt + $ zmv \'(*\&.*)(\&.*)\' \'${1//\&./ }$2\' + +# Remove the first 4 chars from a filename + $ zmv \-n \'*\' \'$f[5,\-1]\' # NOTE: The "5" is NOT a mistake in writing! + +# Rename names of all files under the current Dir to lower case, but keep +# dirnames as\-is\&. + $ zmv \-Qv \'(**/)(*)(\&.D)\' \'$1${(L)2}\' + +# replace all 4th character, which is "1", with "2" and so on + $ autoload \-U zmv + $ zmv \'(???)1(???[1\-4]\&.txt)\' \'${1}2${2}\' + +# Remove the first 15 characters from a string + $ touch 111111111111111{a\-z} + $ autoload zmv + $ zmv \'*\' \'$f[16,\-1]\' + +# Replace spaces (any number of them) with a single dash in file names + $ autload zmv + $ zmv \-n \'(**/)(* *)\' \'$1${2//( #\-## #| ##)/\-}\' + # or \- with Bash + $ find \&. \-depth \-name \'* *\' \-exec bash \-c \' + > shopt \-s extglob + > file=$1 + > dir=${file%/*} + > name=${file##*/} + > newname=${name//*([ \-]) *([ \-])/\-} + > mv \-i \-\- "$file" "$Dir/$newname"\' {} {} \e; + +# Clean up file names and remove special characters + $ autoload zmv + $ zmv \-n \'(**/)(*)\' \'$1${2//[^A\-Za\-z0\-9\&._]/_}\' + +# Add *\&.py to a bunch of python scripts in a directory (some of them end +# in *\&.py and give them all a proper extension + $ autoload zmv + $ zmv \-n \'(**/)(con*)(#qe,file $REPLY | grep "python script",)\' \'$1$2\&.py\' + +# lowercase all extensions (i\&. e\&. *\&.JPG) incl\&. subfolders + $ autoload zmv + $ zmv \'(**/)(*)\&.(#i)jpg\' \'$1$2\&.jpg\' + # Or \- without Zsh + $ find Dir \-name \'*\&.[jJ][pP][gG]\' \-print | while read f + > do + > case $f in + > *\&.jpg) ; + > *) mv "$f" "${f%\&.*}\&.jpg" ; + > esac + > done + +# remove leading zeros from file extension + $ autoload zmv + $ ls + filename\&.001 filename\&.003 filename\&.005 filename\&.007 filename\&.009 + filename\&.002 filename\&.004 filename\&.006 filename\&.008 filename\&.010 + $ zmv \'(filename\&.)0##(?*)\' \'$1$2\' + $ ls + filename\&.1 filename\&.10 filename\&.2 filename\&.3 filename\&.4 filename\&.5 \&.\&. + +# renumber files\&. + $ autoload zmv + $ ls * + foo_10\&.jpg foo_2\&.jpg foo_3\&.jpg foo_4\&.jpg foo_5\&.jpg foo_6\&.jpg \&.\&. + $ zmv \-fQ \'foo_(<0\->)\&.jpg(\&.nOn)\' \'foo_$(($1 + 1))\&.jpg\' + $ ls * + foo_10\&.jpg foo_11\&.jpg foo_3\&.jpg foo_4\&.jpg foo_5\&.jpg \&.\&.\&. + +# adding leading zeros to a filename (1\&.jpg \-> 001\&.jpg, \&.\&. + $ autoload zmv + $ zmv \'(<1\->)\&.jpg\' \'${(l:3::0:)1}\&.jpg\' + +# See above, but now only files with a filename >= 30 chars + $ autoload zmv + $ c=1 zmv "${(l:30\-4::?:)}*\&.foo" \'$((c++))\&.foo\' + +# Replace spaces in filenames with a underline + $ autoload zmv + $ zmv \'* *\' \'$f:gs/ /_\' + +# Change the suffix from *\&.sh to *\&.pl + $ autoload zmv + $ zmv \-W \'*\&.sh\' \'*\&.pl\' + +# Add a ""\&.txt" extension to all the files within ${HOME} + # ``\-\&.\'\' is to only rename regular files or symlinks to regular files, + # ``D\'\' is to also rename hidden files (dotfiles)) + $ autoload zmv + $ zmv \-Q \'/home/**/*(D\-\&.)\' \'$f\&.txt\' + # Or to only rename files that don\'t have an extension: + $ zmv \-Q \'/home/**/^?*\&.*(D\-\&.)\' \'$f\&.txt\' + +# Recursively change filenames with characters ? [ ] / = + < > ; : " , \- * + $ autoload zmv + $ chars=\'[][?=+<>;",*\-]\' + $ zmv \'(**/)(*)\' \'$1${2//$~chars/%}\' + +# Removing single quote from filenames (recursively) + $ autoload zmv + $ zmv \-Q "(**/)(*\'*)(D)" "\e$1\e${2//\'/}" + +# When a new file arrives (named file\&.txt) rename all files in order to +# get (e\&. g\&. file119\&.txt becomes file120\&.txt, file118\&.txt becomes +# file119\&.txt and so on ending with file\&.txt becoming file1\&.txt + $ autoload zmv + $ zmv \-fQ \'file([0\-9]##)\&.txt(On)\' \'file$(($1 + 1))\&.txt\' + +# lowercase/uppercase all files/directories + $ autoload zmv + $ zmv \'(*)\' \'${(L)1}\' # lowercase + $ zmv \'(*)\' \'${(U)1}\' # uppercase + +# Remove the suffix *\&.c from all C\-Files + $ autoload zmv + $ zmv \'(*)\&.c\' \'$1\' + +# Uppercase only the first letter of all *\&.mp3 \- files + $ autoload zmv + $ zmv \'([a\-z])(*)\&.mp3\' \'${(C)1}$2\&.mp3\' + +# Copy the target `README\' in same directory as each `Makefile\' + $ autoload zmv + $ zmv \-C \'(**/)Makefile\' \'${1}README\' + +# Removing single quote from filenames (recursively) + $ autoload zmv + $ zmv \-Q "(**/)(*\'*)(D)" "\e$1\e${2//\'/}" + +# Rename pic1\&.jpg, pic2\&.jpg, \&.\&. to pic0001\&.jpg, pic0002\&.jpg, \&.\&. + $ autoload zmv + $ zmv \'pic(*)\&.jpg\' \'pic${(l:4::0:)1}\&.jpg\' + $ zmv \'(**/)pic(*)\&.jpg\' \'$1/pic${(l:4::0:)2}\&.jpg\' # recursively +.fi +.RE +.SS "Module\-Examples" +Please read zshmodules(1) first! +.sp +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +zsh/pcre (require zmodload zsh/pcre) +.RS +.sp +.RS 4 +.nf +# Copy files of a certain period (date indicated in the filenames) + $ zmodload zsh/pcre + $ ls \-d \-\- *(e:\'[[ $REPLY \-pcre\-match pcre\-regexp ]]\':) + # or + $ m() { [[ $1 \-pcre\-match pcre\-regexp ]] } + $ ls \-d \-\- *(+m) +.fi +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +zsh/clone (require zmodload zsh/clone) +.RS +.sp +.RS 4 +.nf +# Creates a forked instance of the current shell ($! is set to zero) and +# execute ``command\'\' on /dev/tty8 (for this example)\&. + $ zmodload zsh/clone + $ clone /dev/tty8 && (($! == 0)) && exec command +.fi +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +zsh/datetime (require zmodload zsh/datetime) +.RS +.sp +.RS 4 +.nf + $ zmodload zsh/datetime + $ alias datereplacement=\'strftime "%Y\-%m\-%d" $EPOCHSECONDS\' + $ export DATE=`datereplacement` + $ echo $DATE + +# strip date from filename + $ $ zmodload zsh/datetime + $ setopt extendedglob + $ touch aaa_bbb_20041212_c\&.dat eee_fff_20051019_g\&.dat + $ strftime \-s pattern \e + \'???_???_<0\-%Y%m%d>_?\&.dat\' $((EPOCHSECONDS \- 365 * 24 * 60 * 60 / 2)) + $ print \-rl \-\- $~pattern + aaa_bbb_20041212_c\&.dat + $ print \-rl \-\- $pattern + ???_???_<0\-20050815>_?\&.dat + +# Search files size == 0, to be based on the file name containing a date +# rather than the "last modified" date of the file + $ zmodload \-i zsh/datetime + $ strftime \-s file "abc_de_%m%d%Y\&.dat" $((EPOCHSECONDS \- 24 * 60 * 60 )) + $ files=(**/$file(N\&.L0)) + $ (( $#files > 0 )) && print \-rl \-\- $files | \e + mailx \-s "empty files" foo@bar\&.tdl +.fi +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +zsh/stat (require zmodload zsh/stat) +.RS +.sp +.RS 4 +.nf +# test if a symbolic link links to a certain file + $ zmodload \-i zsh/stat + $ ! stat \-LH s foo\&.ln || [[ $s[link] != "foo\&.exe" ]] || ln \-sf foo\&.exe foo\&.ln + +# comparing file dates + $ zmodload zsh/stat + $ file1=foo + $ file2=bar + $ touch bar & sleep 5 & touch foo + $ echo $file1 is $(($(stat +mtime $file2) \- \e + $(stat +mtime $file1))) seconds older than $file2\&. + bar is 5 seconds older than foo + +# list the files of a disk smaller than some other file + $ zmodload zsh/stat + $ stat \-A max +size some\-other\-file + $ print \-rl \&./**/*(D\&.L\-$max) + +# List the top 100 biggest files in a disk + $ zmodload zsh/stat + $ ls \-fld \&./**/*(d`stat +device \&.`OL[1,100]) + +# Get only the user name and the file names from (like +# ls \-l * | awk \'{print $3" " $8}\') + $ zmodload zsh/stat + $ for file; do + > stat \-sA user +uid \-\- "$file" && + > print \-r \-\- "$user" "$file" + > done + +# get the difference between actual bytes of file and allocated bytes of file + $ zmodload zsh/stat + $ print $(($(stat +block \-\- file) * 512 \- $(stat +size \-\- file))) + +# Find largest file +# ``D\'\' : to include dot files (d lowercase is for device) +# ``O\'\' : reverse Ordered (o lowercase for non\-reverse order) +# ``L\'\' : by file Length (l is for number of links) +# ``[1]\'\': return only first one + $ zmodload zsh/stat + $ stat +size \&./*(DOL[1]) + +# file size in bytes + $ zmodload zsh/stat + $ stat \-L +size ~/\&.zshrc + 4707 + +# Delete files in a directory that hasn\'t been accessed in the last ten days +# and send ONE mail to the owner of the files informing him/her of the files\' +# deletion\&. + $ zmodload zsh/stat zsh/files + $ typeset \-A f; f=() + $ rm \-f /path/**/*(\&.a+10e{\'stat \-sA u +uidr $REPLY; f[$u]="$f[$u]$REPLY"\'}) + $ for user (${(k)f}) {print \-rn $f[$user]|mailx \-s "\&.\&.\&." $user} + +# Get a "ls \-l" on all the files in the tree that are younger than a +# specified age + $ zmodload zsh/stat + $ for d (\&. \&./**/*(N/m\-2)) + > print \-r \-\- $\'\en\'$d: && cd $d && { + > for f (*(Nm\-2om)) + > stat \-F \'%b %d %H:%M\' \-LsAs \-\- $f && + > print \-r \-\- $s[3] ${(l:4:)s[4]} ${(l:8:)s[5]} \e + > ${(l:8:)s[6]} ${(l:8:)s[8]} $s[10] $f ${s[14]:+\-> $s[14]} + > cd ~\- + > } + +# get file creation date + $ zmodload zsh/stat + $ stat \-F \'%d %m %Y\' +mtime ~/\&.zshrc + 30 06 2004 + $ stat \-F \'%D\' +mtime ~/\&.zshrc + 06/30/04 +.fi +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +zsh/files (require zmodload zsh/files) +.RS +.sp +.RS 4 +.nf +# search a directory for files containing a certain string then copy those +# files to another directory\&. + $ zmodload zsh/files + $ IFS=$\'\e0\' + $ cp $(grep \-lZr foobar \&.) otherdirectory +.fi +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +zsh/mapfile (require zmodload zsh/mapfile) +.RS +.sp +.RS 4 +.nf +# grepping for two patterns + $ zmodload zsh/mapfile + $ pattern1="foo" + $ pattern2="bar foo" + $ print \-l \&./**/*(DN\&.e{\'z=$mapfile[$REPLY] && [[ $z = *$pattern1* && \e + $z = *$pattern2* ]]\'}) +# or a solution in combination with zsh/pcre + $ zmodload \-i zsh/mapfile zsh/pcre + $ pattern1="foo" + $ pattern2="bar foo" + $ pcre_compile "(?s)(?=\&.*?$pattern1)\&.*?$pattern2" + $ pcre_study + $ print \-l \&./**/*(DN\&.e{\'pcre_match $mapfile[$REPLY]\'}) + +# equivalent for ``less /etc/passwd | grep \-v root\'\' + $ zmodload zsh/mapfile + $ IFS=$\'\en\en\' + $ print \-rl \-\- ${${=mapfile[/etc/passwd]}:#*root*} +# or \- for case insensitive + $ setopt extendedglob + $ print \-rl \-\- ${${=mapfile[/etc/passwd]}:#*(#i)root*} + +# 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 +# ``<TAGB/>2</TAGB>\'\' + $ zmodload zsh/mapfile + $ cnt=0 + $ apfile[data\&.xml\&.new]=${(S)mapfile[data\&.xml]//\e + > (#im)<TAGA>*<\e/TAGA>/<TAGA>$((++cnt))<\e/TAGA>} + +# removing all files in users Maildir/new that contain ``filename="gone\&.src\'\' + $ zmodload zsh/{files,mapfile} + $ rm \-f /u1/??/*/Maildir/new/100*(\&.e{\'[[ $mapfile[$REPLY] == \e + *filename=\e"gone\&.scr\e"* ]]\'}) + +# Grep out the Title from a postscript file and append that value to the +# end of the filename + $ autoload \-U zmv + $ zmodload zsh/mapfile + $ zmv \'(*)\&.ps\' \'$1\-${${${mapfile[$f]##*%%Title: }%% *}//[^a\-zA\-Z0\-9_]/}\&.ps\' +.fi +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +zsh/mathfunc (require zmodload zsh/mathfunc) +.RS +.sp +.RS 4 +.nf +$ zmodload zsh/mathfunc +$ echo $(( sin(1/4\&.0)**2 + cos(1/4\&.0)**2 \- 1 )) + \-1\&.1102230246251565e\-16 +$ echo $(( pi = 4\&.0 * atan(1\&.0) )) + 3\&.1415926535897931 +$ echo $(( f = sin(0\&.3) )) + 0\&.29552020666133955 +$ print $((1e12 * rand48())) + 847909677310\&.23413 +$ print $(( rand48(seed) )) + 0\&.01043488334700271 +.fi +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +zsh/termcap (require zmodload zsh/termcap) +.RS +.sp +.RS 4 +.nf + $ zmodload \-ab zsh/termcap echotc + $ GREEN=`echotc AF 2` + $ YELLOW=`echotc AF 3` + $ RED=`echotc AF 1` + $ BRIGHTRED=`echotc md ; echotc AF 1` + $ print \-l ${GREEN}green ${YELLOW}yellow ${RED}red ${BRIGHTRED}brightred +.fi +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +zsh/zpty (require zmodload zsh/zpty) +.RS +.sp +.RS 4 +.nf + $ zmodload zsh/zpty + $ zpty PW passwd $1 + $ zpty PW passwd $1 +# ``\-r\'\': read the output of the command name\&. +# ``z\'\' : Parameter + $ zpty \-r PW z \'*password:\' +# send the to command name the given strings as input + $ zpty \-w PW $2 + $ zpty \-r PW z \'*password:\' + $ zpty \-w PW $2 +# The second form, with the \-d option, is used to delete commands +# previously started, by supplying a list of their names\&. If no names +# are given, all commands are deleted\&. Deleting a command causes the HUP +# signal to be sent to the corresponding process\&. + $ zpty \-d PW +.fi +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +zsh/net/socket (require zmodload zsh/net/socket) +.RS +.sp +.RS 4 +.nf +# ``\-l\'\': open a socket listening on filename +# ``\-d\'\': argument will be taken as the target file descriptor for the +# connection +# ``3\'\' : file descriptor\&. See ``A User\'s Guide to the Z\-Shell\'\' +# (3\&.7\&.2: File descriptors) + $ zmodload zsh/net/socket + $ zsocket \-l \-d 3 +# ``\-a\'\': accept an incoming connection to the socket + $ zsocket \-a \-d 4 3 + $ zsocket \-a \-d 5 3 # accept a connection + $ echo foobar >&4 + $ echo barfoo >&5 + $ 4>&\- 5>&\- 3>& +.fi +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +zsh/zftp (require zmodload zsh/zftp) +.RS +.sp +.RS 4 +.nf + $ autoload \-U zfinit + $ zfinit + $ zfparams www\&.example\&.invalid myuserid mypassword + $ zfopen + $ zfcd tips + $ zfls \-l zshtips\&.html + $ zfput zshtips\&.html + $ zfls \-l zshtips\&.html + +# Automatically transfer files using FTP with error checking + $ autoload \-U zfinit ; zfinit + $ zftp open host\&.name\&.invalid user passwd || exit + $ zftp get /remote/file > /local/file; r=$? + $ zftp close && exit r + +# compress and ftp on the fly + $ autoload \-U zfinit ; zfinit + $ zftp open host\&.name\&.invalid user password + $ zftp get $file | bzip2 > ${file}\&.bz2 + $ zftp close + +# Recursice ``get\'\' + $ autoload \-U zfinit ; zfinit + $ zfanon cr\&.yp\&.to + $ zfcd daemontools + $ for file in `zfls` ; do + > zfget $file + $ done + $ zfclose + +# Upload all regular files in $HOME/foobar (recursive) that are newer than +# two hours to ftp\&.foobar\&.invalid/path/to/upload + $ autoload \-U zfinit ; zfinit + $ zfopen ftp\&.foobar\&.invalid/path/to/upload + $ cd $HOME/foobar + $ zfput \-r **/*(\&.mh\-2) + $ zfclose + +# long list of files on a ftp + $ autoload \-U zfinit ; zfinit + $ zfopen some\-host + $ zfcd /some/remote/Dir + $ cd /some/local/Dir +# If the list\&.txt is located on the remote host, change to +# zfget ${(f)"$(zftp get /path/to/remote/list\&.txt)"} + $ zfget ${(f)"$(cat list\&.txt)"} + $ zfclose +.fi +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +zsh/zselect (require zmodload zsh/zselect) +.RS +.sp +.RS 4 +.nf +# It\'s similar to + ,\-\-\-\- + | $ sg=$(stty \-g) + | $ stty \-icanon min 0 time 50 + | $ read yesno + | $ stty "$sg" + | $ case "$yesno" in + | > yes) command1;; + | > *) command2;; + | > esac + `\-\-\-\- +$ zmodload zsh/zselect +$ if zselect \-t 500 \-r 0 && read yesno && [ yes = "$yesno" ]; then +> command1 +> else +> command1 +> fi +.fi +.RE +.RE +.SH "OPTIONS" +.SS "Navigation options" +\fBauto_cd\fR (allow one to change to a directory by entering it as a command)\&. \fBauto_pushd\fR (automatically append dirs to the push/pop list) pushd_ignore_dups (and don\'t duplicate them)\&. +.sp +.SS "Misc" +\fBno_hup\fR (don\'t send HUP signal to background jobs when exiting ZSH)\&. \fBprint_exit_value\fR (show a message with the exit code when a command returns with a non\-zero exit code) +.sp +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +History options +.RS +\fBhist_verify\fR (let the user edit the command line after history expansion (e\&.g\&. !ls) instead of immediately running it) Use the same history file for all sessions : \fBsetopt SHARE_HISTORY\fR +.sp +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +Privacy / Security +.RS +\fBno_clobber\fR (or set \-C; prevent \fI>\fR redirection from truncating the given file if it already exists) +.sp +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +Spelling correction +.RS +\fBcorrect\fR (automatically correct the spelling of commands)\&. \fBcorrect_all\fR (automatically correct the spelling of each word on the command line) \fBdvorak\fR (dvorak layout) +.sp +.RE +.SH "UNSORTED/MISC" +Mailpath: simple multiple mailpath: +.sp +.sp +.RS 4 +.nf +mailpath=($HOME/Mail/mbox\'?new mail in mbox\' + $HOME/Mail/tux\&.u\-strasbg\'?new mail in tux\' + $HOME/Mail/lilo\'?new mail in lilo\' + $HOME/Mail/ldap\-fr\'?new mail in ldap\-fr\') +.fi +.RE +Mailpath: dynamic mailpath: +.sp +.sp +.RS 4 +.nf +typeset \-a mailpath +for i in ~/Mail/Lists/*(\&.); do + mailpath[$#mailpath+1]="${i}?You have new mail in ${i:t}\&." +done +.fi +.RE +Avoid globbing on special commands: +.sp +.sp +.RS 4 +.nf +for com in alias expr find mattrib mcopy mdir mdel which; +alias $com="noglob $com" +.fi +.RE +For migrating your bashprompt to zsh use the script bash2zshprompt located in the zsh source distribution under \fIMisc\fR\&. +.sp +For migration from (t)csh to zsh use the c2z tool that converts csh aliases and environment and shell variables to zsh\&. It does this by running csh, and having csh report on aliases and variables\&. The script then converts these to zsh startup files\&. It has some issues and usage information that are documented at the top of this script\&. +.sp +Here are functions to set the title and hardstatus of an \fBXTerm\fR or of \fBGNU Screen\fR to \fIzsh\fR and the current directory, respectively, when the prompt is displayed, and to the command name and rest of the command line, respectively, when a command is executed: +.sp +.sp +.RS 4 +.nf +function title { + if [[ $TERM == "screen" ]]; then + # Use these two for GNU Screen: + print \-nR $\' 33k\'$1$\' 33\'\e + print \-nR $\' 33]0;\'$2$\'\' + elif [[ $TERM == "xterm" || $TERM == "rxvt" ]]; then + # Use this one instead for XTerms: + print \-nR $\' 33]0;\'$*$\'\' + fi +} +function precmd { title zsh "$PWD" } +function preexec { + emulate \-L zsh + local \-a cmd; cmd=(${(z)1}) + title $cmd[1]:t "$cmd[2,\-1]" +} +.fi +.RE +Put the following line into your ~/\&.screenrc to see this fancy hardstatus: +.sp +.sp +.RS 4 +.nf +caption always "%3n %t%? (%u)%?%?: %h%?" +.fi +.RE +Special variables which are assigned: +.sp +.sp +.RS 4 +.nf +$LINENO $RANDOM $SECONDS $COLUMNS $HISTCHARS $UID +$EUID $GID $EGID $USERNAME $fignore $mailpath $cdpath +.fi +.RE +.SH "LINKS" +.PP +Primary site +.RS 4 + +\fBhttp://www\&.zsh\&.org/\fR +.RE +.PP +Project\-page +.RS 4 + +\fBhttp://sourceforge\&.net/projects/zsh/\fR +.RE +.PP +Z shell page at sunsite\&.dk +.RS 4 + +\fBhttp://zsh\&.sunsite\&.dk/\fR +.RE +.PP +From Bash to Z Shell: Conquering the Command Line \- the book +.RS 4 + +\fBhttp://www\&.bash2zsh\&.com/\fR +.RE +.PP +"Zsh \- die magische Shell" (german book about Zsh) by Sven Guckes and Julius Plenz +.RS 4 + +\fBhttp://zshbuch\&.org/\fR +.RE +.PP +Mailinglistarchive +.RS 4 + +\fBhttp://www\&.zsh\&.org/mla/\fR +.RE +.PP +ZSH\-FAQ +.RS 4 + +\fBhttp://zsh\&.dotsrc\&.org/FAQ/\fR +.RE +.PP +Userguide +.RS 4 + +\fBhttp://zsh\&.sunsite\&.dk/Guide/\fR +.RE +.PP +ZSH\-Wiki +.RS 4 + +\fBhttp://zshwiki\&.org/home/\fR +.RE +.PP +A short introduction from BYU +.RS 4 + +\fBhttp://docs\&.cs\&.byu\&.edu/linux/advanced/zsh\&.html\fR +.RE +.PP +Mouse\-Support ;) +.RS 4 + +\fBhttp://stchaz\&.free\&.fr/mouse\&.zsh\fR +.RE +.PP +Curtains up: introducing the Z shell +.RS 4 + +\fBhttp://www\-128\&.ibm\&.com/developerworks/linux/library/l\-z\&.html?dwzone=linux\fR +.RE +.PP +ZSH\-Liebhaberseite (german) +.RS 4 + +\fBhttp://michael\-prokop\&.at/computer/tools_zsh_liebhaber\&.html\fR +.RE +.PP +ZSH\-Seite von Michael Prokop (german) +.RS 4 + +\fBhttp://michael\-prokop\&.at/computer/tools_zsh\&.html\fR +.RE +.PP +ZSH Prompt introduction +.RS 4 + +\fBhttp://aperiodic\&.net/phil/prompt/\fR +.RE +.PP +Adam\'s ZSH page +.RS 4 + +\fBhttp://www\&.adamspiers\&.org/computing/zsh/\fR +.RE +.PP +Zzappers Best of ZSH Tips +.RS 4 + +\fBhttp://www\&.rayninfo\&.co\&.uk/tips/zshtips\&.html\fR +.RE +.PP +Zsh Webpage by Christian Schneider +.RS 4 + +\fBhttp://www\&.strcat\&.de/zsh/\fR +.RE +.PP +The zsh\-lovers webpage +.RS 4 + +\fBhttp://grml\&.org/zsh/\fR +.RE +.PP +IRC channel +.RS 4 + +\fB#zsh at irc\&.freenode\&.org\fR +.RE +.PP +The Z shell reference\-card (included in the zsh\-lovers debian\-package) +.RS 4 + +\fBhttp://www\&.bash2zsh\&.com/zsh_refcard/refcard\&.pdf\fR +.RE +.SH "AUTHORS" +This manpage was written by Michael Prokop, Christian \fIstrcat\fR Schneider and Matthias Kopfermann\&. But many ideas have been taken from zsh\-geeks e\&.g\&. from the zsh\-mailinglists (zsh\-users and zsh\-workers), google, newsgroups and the zsh\-Wiki\&. Thanks for your cool and incredible tips\&. We learned much from you! +.sp +In alphabetic order: +.sp +.sp +.RS 4 +.nf +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/ +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 +.fi +.RE +.SH "SEE ALSO" +Manpages of zsh: +.sp +.sp +.RS 4 +.nf + zsh Zsh overview + zshall Tthe Z shell meta\-man page + zshbuiltins Zsh built\-in commands + zshcalsys zsh calendar system + zshcompctl zsh programmable completion + zshcompsys Zsh completion system + zshcompwid Zsh completion widgets + zshcontrib User contributions to zsh + zshexpn Zsh expansion and substitution + zshmisc Anything not fitting into the other sections + zshmodules Zsh loadable modules + zshoptions Zsh options + zshparam Zsh parameters + zshroadmap Informal introduction to the zsh manual + zshtcpsys Zsh tcp system + zshzle Zsh command line editing + zshzftpsys Zsh built\-in FTP client + zshall Meta\-man page containing all of the above +.fi +.RE +Note: especially \fIman zshcontrib\fR covers very useful topics! Book: \fBFrom Bash to Z Shell\fR by Oliver Kiddle, Jerry Peck and Peter Stephenson\&. \fBISBN: 1590593766\fR\&. \- \fBbash2zsh\&.com\fR Also take a look at the section \fBLINKS\fR in this manpage\&. +.sp +.SH "BUGS" +Probably\&. This manpage might be never complete\&. So please report bugs, feedback and suggestions to <zsh\-lovers@michael\-prokop\&.at>\&. Thank you! +.sp +.SH "COPYRIGHT" +Copyright (C) Michael Prokop, Christian Schneider and Matthias Kopfermann\&. +.sp +.SH "NOTES" +.IP " 1." 4 +zsh-lovers@michael-prokop.at +.RS 4 +\%mailto:zsh-lovers@michael-prokop.at +.RE |