KittyKatt / screenFetch

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

fix tcsh shell detection by looking at /proc/$PPID/exe #668

Closed cruvolo closed 4 years ago

cruvolo commented 4 years ago

Looking at /proc/$PPID/cmdline gave incorrect results of csh instead of tcsh on my debian system. This change uses /proc/$PPID/exec instead, which seems to be more reliable. Tested with bash and dash as well, successfully.

KittyKatt commented 4 years ago

Looks good to me, merged.

cruvolo commented 4 years ago

Thanks!