Convert node to chezmoi
parent
cb98b24161
commit
298195100a
@ -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…
Reference in New Issue