Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[ksh emulation] zle and bindkey commands not available when called from /etc/kshrc
- X-seq: zsh-users 14358
- From: "Tristan TERPELLE" <tristan.terpelle@xxxxxxxxxxxxxxx>
- To: <zsh-users@xxxxxxxxxx>
- Subject: [ksh emulation] zle and bindkey commands not available when called from /etc/kshrc
- Date: Thu, 10 Sep 2009 11:37:24 +0200
- Importance: normal
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Priority: normal
- Thread-index: Acox+k1JSZVvxbU+SH29U+1hFf6I8A==
- Thread-topic: [ksh emulation] zle and bindkey commands not available when called from /etc/kshrc
Hi all,
When I use zsh' ksh emulation mode, the following lines in /etc/kshrc
result in errors:
autoload -Uz edit-command-line
zle -N edit-command-line
bindkey -M vicmd 'v' edit-command-line
The errors are:
/etc/kshrc:4: command not found: zle
/etc/kshrc:5: command not found: bindkey
/etc/kshrc:4: command not found: zle
/etc/kshrc:5: command not found: bindkey
/etc/kshrc:4: command not found: zle
/etc/kshrc:5: command not found: bindkey
However, the same 3 commands do work when I put them in /etc/profile and
log into my ksh. The downside with /etc/profile is that it's not read
for subshells.
Regards
---
Tristan Terpelle
____
This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.
Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy.
Any views expressed in this message are those of the sender.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author