Skip to content

Commit

Permalink
node: set NODE_REPL_HISTORY to XDG dir
Browse files Browse the repository at this point in the history
  • Loading branch information
elanglois-sai committed Jul 11, 2024
1 parent 7c80272 commit 6c9fdee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/config/security/pam_env.conf.m4
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ KDEHOME DEFAULT="m4_env_config_XDG_CONFIG_HOME/kde"
# less: disable history
LESSHISTFILE DEFAULT=-

m4_ifdef({<<m4_env_config_NODE>>},m4_dnl
# Node.js
NODE_REPL_HISTORY DEFAULT="m4_env_config_XDG_DATA_HOME/node_repl_history"
)m4_dnl

# npm
m4_dnl I've had ~/.npm created even when npm isn't installed so no program check
NPM_CONFIG_USERCONFIG DEFAULT="m4_env_config_XDG_CONFIG_HOME/npm/config"
Expand Down
1 change: 1 addition & 0 deletions src/env/programs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ find_program GSIMPLECAL gsimplecal || true
find_program I3BLOCKS i3blocks || true
find_program IP_CMD ip || true
find_program MAIM maim || true
find_program NODE node || true
find_program PICOM picom || true
find_program PLAYERCTL playerctl || true
find_program PULSEAUDIO pulseaudio || true
Expand Down

0 comments on commit 6c9fdee

Please sign in to comment.