importpw / import

`import` is a simple and fast module system for Bash and other Unix shells
https://import.sh
MIT License
338 stars 10 forks source link

Default server #4

Closed TooTallNate closed 6 years ago

TooTallNate commented 6 years ago

import assert should be the same thing as import https://import.pw/importpw/assert. import tootallnate/nexec should be the same thing as import https://import.pw/tootallnate/nexec.

For this to happen, a couple thing need to happen:

  1. If the first part of the import URI does not contain a ., then the default server should be prepended to the URI.
  2. import will default to https://import.pw as the default server, but configurable via env $IMPORT_SERVER.