1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00

chore(config): 🚀 add npm global packages to PATH and configure npmrc

Add npm global packages bin directory to fish shell PATH for easier
access to globally installed packages.

Create `.npmrc` configuration file with:
- `strict-ssl=true` for secure connections
- Custom prefix set to `${HOME}/.npm-packages` for global installations

This ensures globally installed npm packages are accessible from the
command line and configures npm to use a user-specific directory for
global packages.
This commit is contained in:
xnm
2025-08-24 03:22:10 +03:00
parent 82aebc8cff
commit 9eb89bb59f
2 changed files with 3 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ set -gx VOLUME_STEP 5
set -gx BRIGHTNESS_STEP 5 set -gx BRIGHTNESS_STEP 5
set -gx PATH $HOME/.cargo/bin $PATH set -gx PATH $HOME/.cargo/bin $PATH
set -gx PATH $HOME/.npm-packages/bin $PATH
set fish_vi_force_cursor set fish_vi_force_cursor
set fish_cursor_default block set fish_cursor_default block

2
home/.npmrc Normal file
View File

@@ -0,0 +1,2 @@
strict-ssl=true
prefix = ${HOME}/.npm-packages