Lazarus
Using the Lazarus IDE => Editor => Topic started by: zamronypj on June 18, 2019, 10:16:44 am
-
Can I tell fp IDE to load my own existing *.cfg instead of creating its own fp.cfg file?
-
fp -C <yourfile.cfg>
-
I used -Cfilename option but it seemed only accept *.ini, not Free Pascal configuration file.
-
Ah yes, it is for the session file, not the config. I looked at the params, and doesn't seem possible.
You can maybe override a global one by making a local ~/.fp.cfg or so.
-
fp looks for its config first in the directory from which it's launched; if you want it to load a custom fp.cfg just copy it over before launching it. For example, by launching a shell script similar to:
!#/bin/sh
cp ~/username/templates/specialfp.cfg ./fp.cfg
fp $@