fishmarks icon indicating copy to clipboard operation
fishmarks copied to clipboard

Change the source to a proper distribution

Open qw3ry opened this issue 5 years ago • 2 comments

While the current install mechanism as mentioned in the README is good for a quick and dirty install, creating a distribution package will generally require the scripts to be installed in system directories. Fish does provide mechanisms for this!

I'd recommend the following source structure:

  • <function_name>.fish for each included function. This can be installed to pkg-config --variable functionsdir fish which points to /usr/share/fish/vendor_functions.d
  • fishmarks.fish containing the aliases and the SDIR check. This can be installed to pkg-config --variable confdir fish (/usr/share/fish/vendor_conf.d)

This would clean up the installs and probably simplify the packaging process. I am willing to provide a PR, if desired.

qw3ry avatar Sep 07 '19 13:09 qw3ry

@qw3ry Are you still willing to provide a PR?

techwizrd avatar Apr 16 '21 04:04 techwizrd

No, sorry. It has been a while and actually I'm not using fishmarks anymore. Feel free to close this

qw3ry avatar Apr 16 '21 07:04 qw3ry