Add `~` as user home support for import path
Aperta
bug
enhancement
- Lingua principale
- Rust
- Stelle
- 5.2k
- Fork
- 145
- Merge medio
- 5g 3h
- PR unite (30g)
- 7
Descrizione
**Is your feature request related to a problem? Please describe.**
`import * from "~/.amber/helpers/git.ab"`
**Describe the solution you'd like**
Load amber module from user home.
**Describe alternatives you've considered**
The following code is some complicated.
```
import { env_var_get } from "std/env"
const home = trust env_var_get("HOME")
import { history } from "{home}/.amber/helper/git.ab"
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.