<commit_before>#!/usr/bin/env bash

# Exit on error
set -e; set -o pipefail

PFX=${PFX:-==>}
HOME={HOME:?}
REPO_DIR=${REPO_DIR:?}
VSCODE_DOTFILES_DIR=$REPO_DIR/vscode
VSCODE_USER_SETTINGS_DIR="$HOME/Library/Application\ Support/Code/User"

echo "$PFX Configuring application: visual-studio-code"

mkdir -p "$VSCODE_DOTFILES_DIR"
mkdir -p "$VSCODE_USER_SETTINGS_DIR"

ln -sf "$VSCODE_DOTFILES_DIR"/settings.json "$VSCODE_USER_SETTINGS_DIR"/settings.json
ln -sf "$VSCODE_DOTFILES_DIR"/keybindings.json "$VSCODE_USER_SETTINGS_DIR"/keybindings.json
ln -sfn "$VSCODE_DOTFILES_DIR"/snippets "$VSCODE_USER_SETTINGS_DIR"/snippets

exit 0<commit_msg>Update HOME variable declarion<commit_after>#!/usr/bin/env bash

# Exit on error
set -e; set -o pipefail

PFX=${PFX:-==>}
HOME=${HOME:?}
REPO_DIR=${REPO_DIR:?}
VSCODE_DOTFILES_DIR=$REPO_DIR/vscode
VSCODE_USER_SETTINGS_DIR="$HOME/Library/Application\ Support/Code/User"

echo "$PFX Configuring application: visual-studio-code"

mkdir -p "$VSCODE_DOTFILES_DIR"
mkdir -p "$VSCODE_USER_SETTINGS_DIR"

ln -sf "$VSCODE_DOTFILES_DIR"/settings.json "$VSCODE_USER_SETTINGS_DIR"/settings.json
ln -sf "$VSCODE_DOTFILES_DIR"/keybindings.json "$VSCODE_USER_SETTINGS_DIR"/keybindings.json
ln -sfn "$VSCODE_DOTFILES_DIR"/snippets "$VSCODE_USER_SETTINGS_DIR"/snippets

exit 0
{'fraction_non_alphanumeric': 0.1376923076923077, 'fraction_numerical': 0.0015384615384615385, 'mean_word_length': 7.339743589743589, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2649016', 'n_tokens_mistral': 538, 'n_tokens_neox': 558, 'n_words': 84}