Skip to content

Commit

Permalink
[+] Add support for npm global packages
Browse files Browse the repository at this point in the history
Closes #215
  • Loading branch information
hykilpikonna committed Nov 22, 2023
1 parent 524baf9 commit e63e269
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -2030,6 +2030,7 @@ get_packages() {
# OS-independent package managers.
has pipx && tot pipx list --short
has cargo && _cargopkgs="$(cargo install --list | grep -v '^ ')" && tot echo "$_cargopkgs"
has npm && pkgs_h=1 tot npm list -g --depth=0

# OS-specific package managers.
case $os in
Expand Down

0 comments on commit e63e269

Please sign in to comment.