KittyKatt / screenFetch

Fetches system/theme information in terminal for Linux desktop screenshots.
GNU General Public License v3.0
3.86k stars 455 forks source link

Add pacman if-branch for Git Bash #759

Open yanorei32 opened 1 year ago

yanorei32 commented 1 year ago

This patch fixes pacman: command not found issue in Git for Windows.

This PR is separated. ( #758 and #759 )

Please refer Packages section of https://github.com/KittyKatt/screenFetch/issues/606#issuecomment-1399430320

Expected patched (#758 + this) behaviour in Git Bash

curl -sL https://github.com/yanorei32/screenFetch/raw/msys-cygwin-patch-combined/screenfetch-dev | bash

Expected patched (this PR only) behaviour in Git Bash

image

curl -sL https://github.com/yanorei32/screenFetch/raw/fix-git-for-windows-pacman-issue/screenfetch-dev | bash

Actual behaviour in Git Bash

image