Skip to content

Commit f1d3583

Browse files
committed
build(devcontainer): add omz plugins & verify extension signature
VSCode fixed signature validation hangs in v1.90
1 parent cf853f1 commit f1d3583

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

Diff for: .devcontainer/devcontainer.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
"customizations": {
77
"vscode": {
88
"settings": {
9-
"terminal.integrated.defaultProfile.linux": "zsh",
10-
// Speed up extension installation
11-
"extensions.verifySignature": false
9+
"terminal.integrated.defaultProfile.linux": "zsh"
1210
},
1311
"extensions": [
1412
// Liquid tags auto-complete

Diff for: .devcontainer/post-create.sh

+8
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,11 @@ fi
88

99
# Install dependencies for shfmt extension
1010
curl -sS https://webi.sh/shfmt | sh &>/dev/null
11+
12+
# Add OMZ plugins
13+
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
14+
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
15+
sed -i -E "s/^(plugins=\()(git)(\))/\1\2 zsh-syntax-highlighting zsh-autosuggestions\3/" ~/.zshrc
16+
17+
# Avoid git log use less
18+
echo -e "\nunset LESS" >>~/.zshrc

0 commit comments

Comments
 (0)