Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Parse error on autoload -X and a function with & in name
- X-seq: zsh-workers 44498
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Parse error on autoload -X and a function with & in name
- Date: Mon, 8 Jul 2019 21:35:12 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Ct8IEoqdU3vvNtH5PgLaEwJNYyd8tmjze4+EjXh/vP0=; b=UK5CdGZMf19FSkIrKmD0n0zHNof8RBi/TvHjOzGdIpHy/AVjAc6ZAZg4/tu9CZ7nZW kFk8bDqjHw9/s2yZbk0DmQUfsTij1rM72yUkIp4VBbUr2SuwifrCtur3CE+ATlS18jKA mYi8Wb4GKKhMzE4dilFliFzswHdU/CCdMj7wDxxffnIOo8PQUT7Gy9txqttyxopTF/hf iAVVYDl814XAY8QYxopzALRkkme/fbraYLl0HECah90pZtp/AvE8Rlzlw5lSxq0LaPwr 4HaE2A+HXB0agq/B4vGdGH//+Fz1to2O/DOCloYEOOn3Am9bY76ZEnCExyDR4+GkAJKd akXA==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello,
function \&abcd() {
autoload -X
}
\&abcd
gives:
(eval):1: parse error near `&'
I wanted to use the symbol as a namespacer for internal functions.
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author