News for hackers. Stuff that matters.
Re:New Features in the Fish Shell by moonchild on Tuesday September 29, 2020 @06:16PM (#24633673)

  for fname in $(ls ~/.config/zsh/functions); do source $fname; done
:)
Re:New Features in the Fish Shell by lilyball on Tuesday September 29, 2020 @09:39PM (#24634979)
That’s the exact opposite. That’s eagerly loading all defined functions. autoloading means the function isn’t loaded until it’s used.
Re:New Features in the Fish Shell by OJFord on Tuesday September 29, 2020 @07:34PM (#24634314)
When are you going to run that?

GP is talking about JIT loaded functions: 'that is, not defined in your shell's rc file'.

Re:New Features in the Fish Shell by skizziepop on Tuesday September 29, 2020 @06:40PM (#24633912)
for fname in ~/.config/zsh/functions/*; do source $fname; done

will prevent issues with special chars and spaces in filenames