cowsay-org / cowsay

apjanke's fork of the classic cowsay project
http://cowsay.diamonds
GNU General Public License v3.0
83 stars 15 forks source link

Pluggable cow collections? #11

Closed apjanke closed 4 years ago

apjanke commented 4 years ago

There are other repos that provide collections of cow definitions, such as https://github.com/bkendzior/cowfiles and https://github.com/paulkaefer/cowsay-files/. Their installation instructions are like "download this somewhere, and modify your $COWPATH setting.

Maybe we should provide a mechanism to allow other cow collections to be plugged in without user configuration. E.g. have a $prefix/etc/cowsay/cowpath.d directory where cow collection packages can drop a "blah.path" file pointing to where they're installed, and have cowsay respect that and add them to $COWPATH by default.

apjanke commented 4 years ago

Done in https://github.com/cowsay-org/cowsay/commit/e62d89e6b6d86cf7aacce23f9b6c46795ca6d61b.