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

Re: Cygwin New User Issue?



Specific to cygwin, I should also note that the default install has no "clear" command included (they've packaged that with ncurses), so zsh- newuser-install also throws several "command not found: clear" errors.

Sent from my iPhone

On Aug 17, 2009, at 7:11 PM, Peter Stephenson <pws@xxxxxxx> wrote:

On Tue, 11 Aug 2009 10:20:15 +0800
Aaron Davies <aaron.davies@xxxxxxxxx> wrote:
Running zsh for the first time on a new install of cygwin, I noticed
the following error during the zsh-newuser-install process (retyped,
not pasted, so any typos are mine):

__zni_apply_defaults:99: command not found: parsed_keymaps[main]

The script's obviously wrong--thanks for noticing.  This stuff is less
frequently used than some of the other parts.

Index: Functions/Newuser/zsh-newuser-install
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Newuser/zsh-newuser-install,v
retrieving revision 1.6
diff -u -r1.6 zsh-newuser-install
--- Functions/Newuser/zsh-newuser-install    18 Jul 2008 11:50:35 -0000    1.6
+++ Functions/Newuser/zsh-newuser-install 17 Aug 2009 10:55:43 -0000
@@ -348,7 +348,7 @@
    (-B)
    shift
    if [[ -z $state_keymaps[main] ]]; then
-      parsed_keymaps[main] = $1
+      parsed_keymaps[main]=$1
      if [[ $1 = none ]]; then
   state_keymaps[main]="no value set"
      else


--
Peter Stephenson <pws@xxxxxxx>            Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


'member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom'



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