Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zcompile bug? zcompile on a single script setting up a chpwd function
- X-seq: zsh-workers 47427
- From: Doron Behar <doron.behar@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: zcompile bug? zcompile on a single script setting up a chpwd function
- Date: Wed, 7 Oct 2020 10:48:32 +0300
- Archived-at: <https://zsh.org/workers/47427>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-10/20201007074832.xharzoxhtecnjovy%40ZENIX>
- Authentication-results: zsh.org; iprev=pass (mail-wr1-f52.google.com) smtp.remote-ip=209.85.221.52; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-disposition; bh=JctC2rFiEviNDLVzmM3ysz90Vr2SiEsK4ZKTVHhpmWs=; b=Gdd3MmJyCGRkAnUH5zPrSxiokL1DYeCK3h2ivAPyq83/1rZeWIHu4kssydVUpdAs6C vgm3nY2fvSInZDPlfE5PuL5cuPuUAwVYgLBUTcotzqQPtpDGm45CadzeaeQ47vGD2IIa N4DrAkJoQoGipRTLw57+aVDfqy6Va2X4OVHHs6szmNG15jlpgp0UiWpCbVgE85bOI+W9 WAS2N3NXjy9oZOAxUIQpsGfkLZRf51u8rpegF4ameu6fZuxOCgNrUptWQAF3OHIgqpa1 FcLwMSQOE6Un94gllZq5CYLMGYTiJoLOQJrQukd/RUMR2T4bVzJkAcc8vxXVZMyNTJPb RBkg==
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- Mail-followup-to: zsh-workers@xxxxxxx
- Sender: zsh-workers-request@xxxxxxx
Hey all.
I have a zsh script I source in my .zshrc. The script is setting up a
function for `chpwd_functions`. Here it is:
https://github.com/doronbehar/dotfiles/blob/master/.zsh/chpwd/taskwarrior
The function `_chpwd_task_contexts_parser` defined in that file slows
down the shell startup time, and I was looking for a way to improve the
situation. I tried simply zcompiling it, and the `zcompile` command did
generate a .zwc file, but then I get on startup:
[3] 27780
/home/doron/.zsh/chpwd/taskwarrior.zwc:1: no such file or directory: ^G^F^E^D^A
/home/doron/.zsh/chpwd/taskwarrior.zwc:1: permission denied:
[4] 27781 27782
[5] 27783
/home/doron/.zsh/chpwd/taskwarrior.zwc:1: permission denied:
/home/doron/.zsh/chpwd/taskwarrior.zwc:1: permission denied:
[6] 27784
/home/doron/.zsh/chpwd/taskwarrior.zwc:1: permission denied:
[3] exit 127
[4] exit 126 | A
[5] - exit 126 UA0%$A
[6] + exit 126
/home/doron/.zsh/chpwd/taskwarrior.zwc:1: permission denied:
/home/doron/.zsh/chpwd/taskwarrior.zwc:8: permission denied:
/home/doron/.zsh/chpwd/taskwarrior.zwc:17: unmatched "
Have I done something wrong?
Doron.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author