molovo / sublime-zsh

Provides native ZSH autocompletion and snippets
https://github.com/molovo/sublime-zsh
MIT License
10 stars 2 forks source link

Extract inner script into separate file #2

Open ratijas opened 3 years ago

ratijas commented 3 years ago

I'm not sure why it is wrapped inside here-string inside argument-process substitution, but whatever. Instead of moving it one nesting level up, I suggest moving it into its own separate file. That way, syntax highlighting and maintainability would greatly benefit.

https://github.com/molovo/sublime-zsh/blob/b6eb263bf07ce562bb48cf7331344e68054cba3d/capture.zsh#L20-L22