Zi ice modifier: fscr & ferc -> myscript & myfunction

by sall
GNU/Linux ◆ xterm-256color ◆ zsh 685 views

Creates a wrapper function that at each invocation sources the given file. The second ice, ferc'…' works the same with the single difference that it uses eval "$(<{path-to-script})" instead of source "{path-to-script}" to load the script.

https://wiki.zshell.dev/ecosystem/annexes/bin-gem-node