How to set datadir and see all environment variables

Suggest you look at the description of DIR variables in the manual: https://docs.generic-mapping-tools.org/dev/cookbook/features.html#directory-parameters
The simplest sokution may be to place files in your ~/.gmt directory

1 Like