Convert node to chezmoi
This commit is contained in:
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 }}
|
||||||
0
node/.local/bin/install-node-home → dot_local/bin/executable_install-node-home
Executable file → Normal file
0
node/.local/bin/install-node-home → dot_local/bin/executable_install-node-home
Executable file → Normal file
0
node/.local/bin/install-node-system → dot_local/bin/executable_install-node-system
Executable file → Normal file
0
node/.local/bin/install-node-system → dot_local/bin/executable_install-node-system
Executable file → Normal file
Loading…
Reference in New Issue
Block a user