<commit_before>#!/bin/sh
if [ ! -f /etc/motd_vagrant ]; then
  echo 'You are now logged in as the git user that runs GitLab, to get sudo privileges please exit to become the vagrant user' >> /etc/motd_vagrant
fi

if [ ! -f /etc/motd_git ]; then
  echo 'You are now logged in as the vagrant user' >> /etc/motd_git
fi

if [ ! -f /etc/profile.d/message.sh ]; then
  echo '#!/bin/sh' >> /etc/profile.d/message.sh
  echo 'cat /etc/motd_$USER' >> /etc/profile.d/message.sh
fi

cat /home/vagrant/.bashrc | grep 'sudo su git' || echo 'sudo su git' >> /home/vagrant/.bashrc<commit_msg>Use `su - git` to get a login shell<commit_after>#!/bin/sh
if [ ! -f /etc/motd_vagrant ]; then
  echo 'You are now logged in as the git user that runs GitLab, to get sudo privileges please exit to become the vagrant user' >> /etc/motd_vagrant
fi

if [ ! -f /etc/motd_git ]; then
  echo 'You are now logged in as the vagrant user' >> /etc/motd_git
fi

if [ ! -f /etc/profile.d/message.sh ]; then
  echo '#!/bin/sh' >> /etc/profile.d/message.sh
  echo 'cat /etc/motd_$USER' >> /etc/profile.d/message.sh
fi

cat /home/vagrant/.bashrc | grep 'sudo su - git' || echo 'sudo su - git' >> /home/vagrant/.bashrc
{'fraction_non_alphanumeric': 0.1502546689303905, 'fraction_numerical': 0.0, 'mean_word_length': 3.1223776223776225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, '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': '6905559', 'n_tokens_mistral': 465, 'n_tokens_neox': 444, 'n_words': 146}