Script started on Thu 14 Aug 2003 02:54:49 PM CDT bach *ROOT* /root [1]>ccd /uisr   sr/sh_normal:23: command not found: _set_command _normal:25: command not found: _dispatch are/zsh_normal:23: command not found: _set_command _normal:25: command not found: _dispatch 4.1.1 cd: no such file or directory: /usr/share/zsh4.1.1 bach *ROOT* /root [2]>ccd /usr/share/zsh/4.1.1/ bach *ROOT* /usr/share/zsh/4.1.1 [3]>ccd Completion/Base/ cd: no such file or directory: Completion/Base/ bach *ROOT* /usr/share/zsh/4.1.1 [4]>l total 2 drwxr-xr-x 3 root root 80 2003-08-14 14:51 . drwxr-xr-x 3 root root 72 2003-08-14 14:52 .. drwxr-xr-x 8 root root 200 2003-08-14 14:51 functions  bach *ROOT* /usr/share/zsh/4.1.1 [5]>ccd functions/Completion/Base/ bach *ROOT* /usr/share/zsh/4.1.1/functions/Completion/Base [6]>l total 263 drwxr-xr-x 2 root root 1696 2003-08-14 14:51 . drwxr-xr-x 13 root root 456 2003-08-14 14:51 .. -rw-r--r-- 1 root root 920 2003-08-14 14:51 _all_labels -rw-r--r-- 1 root root 970 2003-08-14 14:51 _all_matches -rw-r--r-- 1 root root 1949 2003-08-14 14:51 _alternative -rw-r--r-- 1 root root 3237 2003-08-14 14:51 _approximate -rw-r--r-- 1 root root 7569 2003-08-14 14:51 _arg_compile -rw-r--r-- 1 root root 13188 2003-08-14 14:51 _arguments -rw-r--r-- 1 root root 1358 2003-08-14 14:51 _bash_completions -rw-r--r-- 1 root root 707 2003-08-14 14:51 _cache_invalid -rw-r--r-- 1 root root 737 2003-08-14 14:51 _call_function -rw-r--r-- 1 root root 211 2003-08-14 14:51 _call_program -rw-r--r-- 1 root root 2425 2003-08-14 14:51 _combination -rw-r--r-- 1 root root 3167 2003-08-14 14:51 _complete -rw-r--r-- 1 root root 724 2003-08-14 14:51 _complete_debug -rw-r--r-- 1 root root 2449 2003-08-14 14:51 _complete_help -rw-r--r-- 1 root root 1866 2003-08-14 14:51 _complete_tag -rw-r--r-- 1 root root 518 2003-08-14 14:51 _correct -rw-r--r-- 1 root root 1961 2003-08-14 14:51 _correct_filename -rw-r--r-- 1 root root 388 2003-08-14 14:51 _correct_word -rw-r--r-- 1 root root 3141 2003-08-14 14:51 _describe -rw-r--r-- 1 root root 2442 2003-08-14 14:51 _description -rw-r--r-- 1 root root 1767 2003-08-14 14:51 _dispatch -rw-r--r-- 1 root root 6677 2003-08-14 14:51 _expand -rw-r--r-- 1 root root 1233 2003-08-14 14:51 _expand_alias -rw-r--r-- 1 root root 307 2003-08-14 14:51 _expand_word -rw-r--r-- 1 root root 169 2003-08-14 14:51 _generic -rw-r--r-- 1 root root 169 2003-08-14 14:51 _guard -rw-r--r-- 1 root root 1343 2003-08-14 14:51 _history -rw-r--r-- 1 root root 3451 2003-08-14 14:51 _history_complete_word -rw-r--r-- 1 root root 1570 2003-08-14 14:51 _ignored -rw-r--r-- 1 root root 822 2003-08-14 14:51 _list -rw-r--r-- 1 root root 8959 2003-08-14 14:51 _main_complete -rw-r--r-- 1 root root 2429 2003-08-14 14:51 _match -rw-r--r-- 1 root root 558 2003-08-14 14:51 _menu -rw-r--r-- 1 root root 788 2003-08-14 14:51 _message -rw-r--r-- 1 root root 868 2003-08-14 14:51 _most_recent_file -rw-r--r-- 1 root root 8281 2003-08-14 14:51 _multi_parts -rw-r--r-- 1 root root 600 2003-08-14 14:51 _next_label -rw-r--r-- 1 root root 3533 2003-08-14 14:51 _next_tags -rw-r--r-- 1 root root 462 2003-08-14 14:51 _normal -rw-r--r-- 1 root root 85 2003-08-14 14:51 _nothing -rw-r--r-- 1 root root 1900 2003-08-14 14:51 _oldlist -rw-r--r-- 1 root root 735 2003-08-14 14:51 _pick_variant -rw-r--r-- 1 root root 1452 2003-08-14 14:51 _prefix -rw-r--r-- 1 root root 3824 2003-08-14 14:51 _read_comp -rw-r--r-- 1 root root 2496 2003-08-14 14:51 _regex_arguments -rw-r--r-- 1 root root 268 2003-08-14 14:51 _requested -rw-r--r-- 1 root root 731 2003-08-14 14:51 _retrieve_cache -rw-r--r-- 1 root root 4252 2003-08-14 14:51 _sep_parts -rw-r--r-- 1 root root 815 2003-08-14 14:51 _set_command -rw-r--r-- 1 root root 1958 2003-08-14 14:51 _setup -rw-r--r-- 1 root root 1444 2003-08-14 14:51 _store_cache -rw-r--r-- 1 root root 136 2003-08-14 14:51 _sub_commands -rw-r--r-- 1 root root 1430 2003-08-14 14:51 _tags -rw-r--r-- 1 root root 3763 2003-08-14 14:51 _values -rw-r--r-- 1 root root 183 2003-08-14 14:51 _wanted  bach *ROOT* /usr/share/zsh/4.1.1/functions/Completion/Base [7]>ccat _set_command #autoload # This sets the parameters _comp_command1, _comp_command2 and _comp_command # in the calling function. local command command="$words[1]" [[ -z "$command" ]] && return if (( $+builtins[$command] + $+functions[$command] )); then _comp_command1="$command" _comp_command="$_comp_command1" elif [[ "$command[1]" = '=' ]]; then eval _comp_command2\=$command _comp_command1="$command[2,-1]" _comp_command="$_comp_command2" elif [[ "$command" = ..#/* ]]; then _comp_command1="${PWD}/$command" _comp_command2="${command:t}" _comp_command="$_comp_command2" elif [[ "$command" = */* ]]; then _comp_command1="$command" _comp_command2="${command:t}" _comp_command="$_comp_command2" else _comp_command1="$command" _comp_command2="$commands[$command]" _comp_command="$_comp_command1" fi bach *ROOT* /usr/share/zsh/4.1.1/functions/Completion/Base [8]>ccat _dis_normal:23: permission denied: _set_command _normal:25: permission denied: _dispatch patch #autoload local comp pat val name i ret=1 _compskip="$_compskip" local curcontext="$curcontext" service str noskip # If we get the option `-s', we don't reset `_compskip'. if [[ "$1" = -s ]]; then noskip=yes shift fi [[ -z "$noskip" ]] && _compskip= curcontext="${curcontext%:*:*}:${1}:" shift # See if there are any matching pattern completions. if [[ "$_compskip" != (all|*patterns*) ]]; then for str in "$@"; do [[ -n "$str" ]] || continue service="${_services[$str]:-$str}" for i in "${(@)_patcomps[(K)$str]}"; do eval "$i" && ret=0 if [[ "$_compskip" = *patterns* ]]; then break elif [[ "$_compskip" = all ]]; then _compskip='' return ret fi done done fi # Now look up the names in the normal completion array. ret=1 for str in "$@"; do [[ -n "$str" ]] || continue name="$str" comp="${_comps[$str]}" service="${_services[$str]:-$str}" [[ -z "$comp" ]] || break done # And generate the matches, probably using default completion. if [[ -n "$comp" && "$name" != "${argv[-1]}" ]]; then _compskip=patterns eval "$comp" && ret=0 [[ "$_compskip" = (all|*patterns*) ]] && return ret fi if [[ "$_compskip" != (all|*patterns*) ]]; then for str; do [[ -n "$str" ]] || continue service="${_services[$str]:-$str}" for i in "${(@)_postpatcomps[(K)$str]}"; do _compskip=default eval "$i" && ret=0 if [[ "$_compskip" = *patterns* ]]; then break elif [[ "$_compskip" = all ]]; then _compskip='' return ret fi done done fi [[ "$name" = "${argv[-1]}" && -n "$comp" && "$_compskip" != (all|*default*) ]] && service="${_services[$name]:-$name}" && eval "$comp" && ret=0 _compskip='' return ret bach *ROOT* /usr/share/zsh/4.1.1/functions/Completion/Base [9]> Script done on Thu 14 Aug 2003 02:56:34 PM CDT