Convert node to chezmoi

main
Buddy Sandidge 2 years ago
parent cb98b24161
commit 298195100a

@ -1,6 +1,5 @@
/hellotech/ /hellotech/
/install-scripts/ /install-scripts/
/node/
/old-scripts/ /old-scripts/
/ripgrep/ /ripgrep/
/ruby/ /ruby/

@ -1,2 +1,4 @@
{{ if lookPath "node" -}}
prefix=${HOME}/.local prefix=${HOME}/.local
cache=${XDG_CACHE_HOME}/npm cache=${XDG_CACHE_HOME}/npm
{{- end }}

@ -1,4 +1,6 @@
{{ if lookPath "node" -}}
# shellcheck shell=bash # shellcheck shell=bash
#ft=sh #ft=sh
# shellcheck disable=SC2034 # shellcheck disable=SC2034
NPM_CONFIG_USERCONFIG="${XDG_CONFIG_HOME}/npm/npmrc" NPM_CONFIG_USERCONFIG="${XDG_CONFIG_HOME}/npm/npmrc"
{{- end }}
Loading…
Cancel
Save