<commit_before>if [[ -n "$WSL_DISTRO_NAME" ]]; then
    x11-forward () {
        export DISPLAY=$(ip route | awk '/^default/{print $3; exit}'):0
        export LIBGL_ALWAYS_INDIRECT=1
        printf "Start X11 using \033[1;36mvcxsrv -ac\033[0m in Windows.\n"
    }
fi<commit_msg>Support both direct and indirect OpenGL<commit_after>if [[ -n "$WSL_DISTRO_NAME" ]]; then
    x11-forward () {
        export DISPLAY=$(ip route | awk '/^default/{print $3; exit}'):0
        export LIBGL_ALWAYS_INDIRECT=$1
        printf "Start X11 using \033[1;36mvcxsrv -ac\033[0m in Windows.\n"
    }

    alias xdirect="x11-forward 0"
    alias xindirect="x11-forward 1"
fi
{'fraction_non_alphanumeric': 0.1448170731707317, 'fraction_numerical': 0.06097560975609756, 'mean_word_length': 3.080745341614907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5726440', 'n_tokens_mistral': 261, 'n_tokens_neox': 237, 'n_words': 56}