-
-
Notifications
You must be signed in to change notification settings - Fork 6
Multiple configuration files
Kat looks through several paths to get configurations, and the last place it checks is the current working directory.
This means that you could add a config file to a specific folder to make the language used for all problems inside a specific language you don't use outside this folder.
To do this, copy your .kattisrc
from where you installed it to the folder you want to have specific configurations for. Then, in the configuration file, change language
under [kat]
to whatever language you want!
Another good use for this would be to switch Kattis instance. Just download the Kattis instance configurations like you did the first time, only now from a different instance, and place it in the specific folder. Running any Kat command inside this folder should populate the configuration with your settings!