updating files

This commit is contained in:
2026-01-11 17:38:25 -05:00
parent d75196b4f9
commit 86504eec55
13 changed files with 764 additions and 224 deletions

View File

@@ -0,0 +1,25 @@
# Create .coder/ folder if does not exist
mkdir -p .coder
# Create .coder/settings.json with default settings if it does not exist
if [ ! -f .coder/settings.json ]; then
cat <<EOL > .coder/settings.json
{
"editor.fontSize": 14,
"editor.tabSize": 2,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
"terminal.integrated.fontSize": 14,
"workbench.colorTheme": "Default Dark+"
}
EOL
fi
# Add the .coder/ folder to .gitignore if not already present
if ! grep -q "^.coder/$" .gitignore; then
echo ".coder/" >> .gitignore
fi
# Add the ./**/*.coder.* files to .gitignore if not already present
if ! grep -q "^.*/\.coder/.*$" .gitignore; then
echo ".*/.coder/.*" >> .gitignore
fi