Closed rawiriblundell closed 2 years ago
Example:
import puts
If no extension is given, import() should try to figure it out automatically.
import()
Example logic, shell is zsh:
zsh
puts.zsh -> exists -> source puts.zsh |-> doesn't exist -> puts.sh -> exists -> source puts.sh
Largely done in commit 742d3f0. If an extension is given, that is attempted. Otherwise .sh is assumed and tested. This is clean and simple.
Example:
import puts
If no extension is given,
import()
should try to figure it out automatically.Example logic, shell is
zsh
: