[Pkg-zsh-devel] Bug#692785: zsh: '.zprofice' typo in zshrc

Frank Terbeck ft at bewatermyfriend.org
Thu Nov 8 21:25:38 UTC 2012


Michael Terry wrote:
> Package: zsh
> Version: 5.0.0-2
[...]
> Ubuntu user Logan Rosen provided the attached patch to fix a typo in
> debian/zshrc.  ".zprofice" should be ".zprofile".

Hey there,

this does not apply to the debian package, since we don't call
`compinit' under any circumstances in the global zshrc¹.

>  # If you don't want compinit called here, place the line
>  # skip_global_compinit=1
> -# in your $ZDOTDIR/.zshenv or $ZDOTDIR/.zprofice
> +# in your $ZDOTDIR/.zshenv or $ZDOTDIR/.zprofile

Also, the comment isn't quite right. I'd leave the mention of
`.zprofile' out entirely, because using it would only work for zsh
instances that are interactive shells AND login shells. If the shell
wouldn't be a login shell, setting something in that file doesn't have
any effect whatsoever.

Regards, Frank

¹ http://anonscm.debian.org/gitweb/?p=collab-maint/zsh.git;a=blob;f=debian/zshrc;hb=HEAD



More information about the Pkg-zsh-devel mailing list