1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-04 11:09:26 +00:00

node: Add environment variable to store 'n' cache

See: https://github.com/tj/n#installation for details.
This commit is contained in:
Indrajit Raychaudhuri
2021-05-16 22:04:27 -05:00
committed by Indrajit Raychaudhuri
parent 9f37fc9841
commit 28ec39d9b2
2 changed files with 11 additions and 0 deletions

View File

@ -37,3 +37,9 @@ elif (( $+commands[brew] )) \
elif (( ! $+commands[node] )); then
return 1
fi
#
# Variables
#
N_PREFIX="${XDG_CONFIG_HOME:-$HOME/.config}/n" # The path to 'n' cache.