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:
@@ -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
2
home/.npmrc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
strict-ssl=true
|
||||||
|
prefix = ${HOME}/.npm-packages
|
Reference in New Issue
Block a user