* Having trouble with a weird `is-at-least` function issue
@ 2018-03-05 13:35 Joost Bremmer
2018-03-06 17:27 ` Bart Schaefer
0 siblings, 1 reply; 3+ messages in thread
From: Joost Bremmer @ 2018-03-05 13:35 UTC (permalink / raw)
To: zsh-users
[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]
Hey everyone,
I've come up against a weird issue and I hope you can help me figure it
out. It first presented itself with the zsh-syntax-highlighting plugin, so
that's the example I'll use.
Syntax-highlighting tries to autoload the `is-at-least` function but then
when CALLING said function it gives the following error: "is-at-least:
function not defined by file".
Manually following the same steps gives the same results.
Now it's got me a bit stumped. The is-at-least source file exists on my
system, the `functions/Misc` folder is properly added to $fpath, and other
functions located in that folder work perfectly fine, and I can't think of
anything else that might be affecting it.
I've of course looked around online for the issue, but haven't found
anything similar. I can therefore only assume it isn't a general bug with
syntax-highlighting or zsh itself and there's something off about my setup,
I just don't know WHAT.
If anyone can point me in the right direction I'd be very grateful.
Sincerely,
Joost Bremmer
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Having trouble with a weird `is-at-least` function issue
2018-03-05 13:35 Having trouble with a weird `is-at-least` function issue Joost Bremmer
@ 2018-03-06 17:27 ` Bart Schaefer
2018-03-06 17:32 ` Peter Stephenson
0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2018-03-06 17:27 UTC (permalink / raw)
To: zsh-users
On Mar 5, 2:35pm, Joost Bremmer wrote:
}
} Syntax-highlighting tries to autoload the `is-at-least` function but then
} when CALLING said function it gives the following error: "is-at-least:
} function not defined by file".
} Manually following the same steps gives the same results.
Make sure the KSH_AUTOLOAD option is turned off, or that you have used
"autoload -z is-at-least"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Having trouble with a weird `is-at-least` function issue
2018-03-06 17:27 ` Bart Schaefer
@ 2018-03-06 17:32 ` Peter Stephenson
0 siblings, 0 replies; 3+ messages in thread
From: Peter Stephenson @ 2018-03-06 17:32 UTC (permalink / raw)
To: zsh-users
On Tue, 6 Mar 2018 09:27:11 -0800
Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Mar 5, 2:35pm, Joost Bremmer wrote:
> }
> } Syntax-highlighting tries to autoload the `is-at-least` function
> but then } when CALLING said function it gives the following error:
> "is-at-least: } function not defined by file".
> } Manually following the same steps gives the same results.
>
> Make sure the KSH_AUTOLOAD option is turned off, or that you have used
> "autoload -z is-at-least"
I was going to suggest running "functions is-at-least" to see what that
said, but it was mostly just to check the same thing.
pws
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-03-06 17:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-05 13:35 Having trouble with a weird `is-at-least` function issue Joost Bremmer
2018-03-06 17:27 ` Bart Schaefer
2018-03-06 17:32 ` Peter Stephenson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).