-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
47 lines (41 loc) · 1.45 KB
/
install.sh
File metadata and controls
47 lines (41 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env bash
# Essential Development Environment DevContainer Feature
# Copyright (c) 2025 helpers4
# Licensed under LGPL-3.0 - see LICENSE file for details
#
# Provides core development environment with Git, Copilot, and editor tools
set -e
# Enable VS Code shell integration for all shells
# This captures command execution and working directory changes in the terminal
echo "🔧 Configuring VS Code shell integration..."
for shell in zsh bash fish; do
if command -v "$shell" &> /dev/null; then
case "$shell" in
zsh)
config_file="${HOME}/.zshrc"
;;
bash)
config_file="${HOME}/.bashrc"
;;
fish)
config_file="${HOME}/.config/fish/config.fish"
;;
esac
if [ -f "$config_file" ] && ! grep -q "SHELL_SESSION_ID" "$config_file" 2>/dev/null; then
echo " ✅ Shell integration ready for $shell"
fi
fi
done
echo ""
echo "✅ essential-dev feature configured"
echo ""
echo "📦 VS Code extensions installed:"
echo " - Git integration (history, graph, conventional commits)"
echo " - Markdown support with preview and linting"
echo " - Editor enhancements (multi-cursor, compare, local history)"
echo " - File format support (YAML, JSON, CSV, XML, Makefile)"
echo ""
echo "🔌 Terminal enhancements:"
echo " - Shell integration enabled (command tracking, execution feedback)"
echo " - Suggestion menu and decorations enabled"
echo " - Works with zsh, bash, and fish"