zsh-workers
 help / color / mirror / code / Atom feed
* functions/Completion/Linux/_modutils
@ 2008-05-13 16:19 sergio
  2008-05-14  3:17 ` functions/Completion/Linux/_modutils Bart Schaefer
  0 siblings, 1 reply; 12+ messages in thread
From: sergio @ 2008-05-13 16:19 UTC (permalink / raw)
  To: zsh-workers

Hello.

When i'm not root  modprobe is not in my path, so
in case "all_modules)" "modules" will be empty:

  all_modules)
    modules=( ${${${${(f)"$(_call_program modules
${(M)words[1]##*/}modprobe -l 2>/dev/null)"}:#}##*/}%%.*} )

words --- what this?

with
modules=( ${${${${(f)"$(_call_program modules
${(M)words[1]##*/}/sbin/modprobe -l 2>/dev/null)"}:#}##*/}%%.*} )
all works fine

-- 
sergio


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-05-16  9:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-13 16:19 functions/Completion/Linux/_modutils sergio
2008-05-14  3:17 ` functions/Completion/Linux/_modutils Bart Schaefer
2008-05-14 14:16   ` functions/Completion/Linux/_modutils sergio
2008-05-14 15:18     ` functions/Completion/Linux/_modutils Peter Stephenson
2008-05-14 15:56       ` functions/Completion/Linux/_modutils sergio
2008-05-14 15:55     ` functions/Completion/Linux/_modutils Bart Schaefer
2008-05-14 16:19       ` functions/Completion/Linux/_modutils sergio
2008-05-14 16:40         ` functions/Completion/Linux/_modutils Bart Schaefer
2008-05-15 12:16           ` functions/Completion/Linux/_modutils Clint Adams
2008-05-15 16:58             ` functions/Completion/Linux/_modutils Bart Schaefer
2008-05-15 17:00               ` functions/Completion/Linux/_modutils Peter Stephenson
2008-05-16  9:26                 ` functions/Completion/Linux/_modutils Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).