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



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