docs: def print_global_config(global_config):
      """ print the global configuration """
      if global_config.has_section('shell'):
          print("\nShell configurations:")
          for shell_type, set_value in global_config.items('shell'):
              print("{0}: {1}".format(shell_type, set_value))
  
      if global_config.has_option('global', 'env_source_rc'):
          print("\nHave sprinter env source rc: {0}".format(
              global_config.get('global', 'env_source_rc')))