Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Zsh/zpython module
- X-seq: zsh-workers 31026
- From: ZyX <kp-pav@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] Zsh/zpython module
- Date: Mon, 04 Feb 2013 23:51:49 +0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1360007509; bh=JCYkP2hUxgiTDzW64kboHJSxKMUmx3po5U0Ss2v9QN8=; h=From:To:Subject:Date; b=nRxZUW8I8AIa/eeDuz39XWxR7a6CBvN+hN6UGJc8gX3Clodjbjfxr3FjT52+kUsAu pAeIz5KbxpJ88iOUW31CgVgWG1MXHd9YaXEP4kHQsuT4nrrXYFjJe1TEC5M7ae6Iu1 CjA+MHJptAmv6RUiw8PU6uGyzJb9bS9JpLSJSJwA=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Attached patch contains zsh/zpython module which embeds python (2.*; at least 2.7.3 and 2.6.8 are known to work) interpreter into zsh. The main idea is to speed things like heavy prompts (this is what it is actually used for: speed up powerline) and highlighting (for example, like here: https://bitbucket.org/ZyX_I/zsh-pygments-highlighting). Note that the latter is just a proof-of-concept, it lacks many features to compete with zsh-syntax-highlighting, though currently showing just the same good performance for command-line of any reasonable length; zsh-syntax-highlighting shows notable delay for >500 characters input.
You can find all code here: https://bitbucket.org/ZyX_I/zsh, branch zpython (git).
Attachment:
zdiff.diff
Description: Binary data
Messages sorted by:
Reverse Date,
Date,
Thread,
Author