def get_filter_function():
 csc = builtins.__xonsh_env__.get('CASE_SENSITIVE_COMPLETIONS')
 if csc:
  return _filter_normal
 else:
  return _filter_ignorecase

def get_filter_function ( ) : csc = builtins . __xonsh_env__ . get ( 'CASE_SENSITIVE_COMPLETIONS' ) if csc : return _filter_normal else : return _filter_ignorecase
return an appropriate filtering function for completions .