diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-17 04:52:56 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-17 04:52:56 +0000 |
commit | 6014bbdb459e30aee0f5ec4a7e0bdfb43a264adf (patch) | |
tree | d04738e985ed498621fb5f4930ffd4ce0143ee42 /Completion/User | |
parent | bf23cb8fe738c1fcd2c1b8a458f4316a3b782652 (diff) | |
download | zsh-6014bbdb459e30aee0f5ec4a7e0bdfb43a264adf.tar.gz zsh-6014bbdb459e30aee0f5ec4a7e0bdfb43a264adf.tar.xz zsh-6014bbdb459e30aee0f5ec4a7e0bdfb43a264adf.zip |
zsh-3.1.6-bart-7 zsh-3.1.6-bart-7
Diffstat (limited to 'Completion/User')
-rw-r--r-- | Completion/User/.distfiles | 17 | ||||
-rw-r--r-- | Completion/User/_man | 9 |
2 files changed, 17 insertions, 9 deletions
diff --git a/Completion/User/.distfiles b/Completion/User/.distfiles index 35dfd2f3d..1f97d30df 100644 --- a/Completion/User/.distfiles +++ b/Completion/User/.distfiles @@ -1,11 +1,12 @@ DISTFILES_SRC=' .distfiles - _a2ps _bison _bunzip2 _bzip2 _chown _compress _configure _cvs _dd - _dir_list _dirs _dvi _find _flex _gcc _gdb _gprof _groups _gs _gunzip - _gv _gzip _hosts _ispell _lynx _mailboxes _make _man _mh _mount _mutt - _my_accounts _nslookup _other_accounts _patch _pbm _pdf _perl_basepods - _perl_builtin_funcs _perl_modules _perldoc _ports _ps _pspdf _rcs - _rlogin _sh _socket _ssh _strip _stty _su _tar _tar_archive _telnet - _tex _tiff _uncompress _urls _use_lo _users _users_on _webbrowser _wget - _xargs _yodl _yp + _a2ps _archie _bison _bunzip2 _bzip2 _chown _compress _configure _cvs + _dd _dir_list _dirs _dvi _find _flex _gcc _gdb _gprof _groups _gs + _gunzip _gv _gzip _hosts _ispell _killall _lynx _mailboxes _make _man + _mh _mount _mutt _my_accounts _netscape _nslookup _other_accounts + _pack _patch _pbm _pdf _perl_basepods _perl_builtin_funcs + _perl_modules _perldoc _ports _prompt _ps _pspdf _rcs _rlogin _sh + _socket _ssh _strip _stty _su _tar _tar_archive _telnet _tex _tiff + _uncompress _unpack _urls _use_lo _user_at_host _users _users_on + _webbrowser _wget _whereis _whois _xargs _yodl _yp ' diff --git a/Completion/User/_man b/Completion/User/_man index 0c148a518..fd5702227 100644 --- a/Completion/User/_man +++ b/Completion/User/_man @@ -14,7 +14,14 @@ if [[ -n $_comp_correct ]]; then approx="(#a${_comp_correct})" fi -(( $#manpath )) || manpath=( ${(s.:.)$(manpath 2>/dev/null)} ) || +if (( ! $#manpath )); then + local mp + mp=($(manpath 2>/dev/null)) + [[ "$mp" == *:* ]] && mp=( ${(s.:.)mp} ) + manpath=( $mp ) +fi + +(( $#manpath )) || manpath=( /usr/man(-/N) /(opt|usr)/(dt|share|X11R6|local)/(cat|)man(-/N) ) # `sman' is the SGML manual directory for Solaris 7. |