Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: help with command completion



In article <200001061056.LAA11896@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
  Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:

> +  (( $#_lp_cache )) || _lp_cache( 'lp0:Guessed default printer' )

Typo fix.

Index: Completion/User/_lp
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/_lp,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 _lp
--- Completion/User/_lp	2000/01/06 14:10:17	1.1.1.4
+++ Completion/User/_lp	2000/01/06 15:28:22
@@ -31,7 +31,7 @@
       fi
     done < $file[1]
   fi
-  (( $#_lp_cache )) || _lp_cache( 'lp0:Guessed default printer' )
+  (( $#_lp_cache )) || _lp_cache=( 'lp0:Guessed default printer' )
   (( $#_lp_alias_cache )) || unset _lp_alias_cache
 fi
 
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author