[U] scoop: Use pkgs_h instead of custom sed
This commit is contained in:
parent
928dfd713c
commit
3834122a37
1 changed files with 1 additions and 2 deletions
3
neofetch
3
neofetch
|
@ -2008,8 +2008,7 @@ get_packages() {
|
|||
fi
|
||||
|
||||
# scoop list adds a few extra lines to be fancy, an easy fix is to just remove the first 4 lines. I dont know a better way to do this.
|
||||
scooplist() { scoop list | sed '1,4d'; }
|
||||
has scoop && tot scooplist
|
||||
has scoop && pkgs_h=4 tot scoop list
|
||||
|
||||
# Count chocolatey packages.
|
||||
# [[ -d /c/ProgramData/chocolatey/lib ]] && \
|
||||
|
|
Loading…
Reference in a new issue