From 0025d52ab9e72c3bfbc7d11f60bb2fa4298c88b4 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sun, 23 Jul 2023 00:14:23 +0200 Subject: [PATCH] Add npm binaries to path --- home/.config/shell/profile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/.config/shell/profile b/home/.config/shell/profile index 4b7c65a..b6e47a9 100755 --- a/home/.config/shell/profile +++ b/home/.config/shell/profile @@ -14,6 +14,10 @@ if [ -d "$HOME/.local/share/pyenv/shims" ]; then PATH+=":$HOME/.local/share/pyenv/shims" fi +if [ -d "$HOME/.local/share/npm/bin" ]; then + PATH+=":$HOME/.local/share/npm/bin" +fi + # Start graphical session automatically on tty1 if Hyprland or startx is available if [ "$(tty)" = "/dev/tty1" ] && [ "$UID" != 0 ]; then if command -v Hyprland >/dev/null; then