Open psnszsn opened 5 years ago
Agree. Forced to refuse from degit because of this
Currently, degit use https://github.com/Rich-Harris/degit/blob/master/src/utils.js#L127 home-ortmp
as a base directory determine way, maybe could use https://www.npmjs.com/package/xdg to instead.
Degit should be using
$XDG_CACHE_HOME/degit
instead of~/.degit
to store downloaded repositories. This keeps users' home directories clean of dotfiles. It is being widely adopted by Linux/BSD applications.See here for more info.