https://bugzilla.novell.com/show_bug.cgi?id=212928 mmarek@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mmarek@novell.com ------- Comment #2 from mmarek@novell.com 2006-10-18 06:59 MST ------- Hm, is it the MODLIST=(... $YAST -l ...) line that causes the I/O? What about populating the list first when it's really needed? @@ -2,13 +2,16 @@ # A Christmas gift from Carsten Hoeger YAST=/sbin/yast -# build a list of know yast modules -MODLIST=($(LC_ALL=C $YAST -l| grep '^[a-z]' | grep -v "Available")) +MODLIST=() _yast2 () { local cur prevprev prev len idx mod MODOPTS line opt rest MODOPTS=() + if test ${#MODLIST[*]} = 0; then + # build a list of know yast modules + MODLIST=($(LC_ALL=C $YAST -l| grep '^[a-z]' | grep -v "Available ")) + fi if [[ ${#COMP_WORDS[@]} -gt 4 ]]; then return 0 BTW it's not that useless as it might look like, it can save you some keystrokes, eg. 'yast fi<tab><enter>' launches the firewall module and so on. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.