From 1c2ad6327c027210f854e9defd4124a2e7023da2 Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Fri, 18 Dec 2020 18:09:21 +0100 Subject: [PATCH] added npm to path --- .profile | 1 + .zshrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.profile b/.profile index f342185..a988c77 100644 --- a/.profile +++ b/.profile @@ -22,3 +22,4 @@ export WINEPREFIX="$XDG_DATA_HOME/wine" export RUSTUP_HOME="$XDG_DATA_HOME/rustup" export CARGO_INSTALL_ROOT="$XDG_DATA_HOME/cargo" export NPM_CONFIG_CACHE="$XDG_CACHE_HOME/npm" +export NPM_PACKAGES="$XDG_DATA_HOME/npm_global" diff --git a/.zshrc b/.zshrc index 5f86627..ed54bca 100644 --- a/.zshrc +++ b/.zshrc @@ -22,7 +22,7 @@ # - pkgfile # - trash-cli (with gvfs) -export PATH=$HOME/.local/bin:$HOME/.dotnet/tools:$PATH +export PATH=$HOME/.local/bin:$HOME/.dotnet/tools:$XDG_DATA_HOME/npm_global/bin:$PATH [[ $- != *i* ]] && return