in onSession:
const flag = pi.getFlag('gitnexus-cmd') as string | undefined;
const cmdStr = flag ?? saved ?? 'gitnexus';
here getFlag returns the default gitnexus (the flag is registered with that as a default) and the rest of the statement is ignored, so the config file is never used.
in
onSession:here getFlag returns the default
gitnexus(the flag is registered with that as a default) and the rest of the statement is ignored, so the config file is never used.