build(devcontainer): add omz plugins & verify extension signature
VSCode fixed signature validation hangs in v1.90
This commit is contained in:
parent
cf853f14e4
commit
f1d35832f4
2 changed files with 9 additions and 3 deletions
|
@ -6,9 +6,7 @@
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"terminal.integrated.defaultProfile.linux": "zsh",
|
"terminal.integrated.defaultProfile.linux": "zsh"
|
||||||
// Speed up extension installation
|
|
||||||
"extensions.verifySignature": false
|
|
||||||
},
|
},
|
||||||
"extensions": [
|
"extensions": [
|
||||||
// Liquid tags auto-complete
|
// Liquid tags auto-complete
|
||||||
|
|
|
@ -8,3 +8,11 @@ fi
|
||||||
|
|
||||||
# Install dependencies for shfmt extension
|
# Install dependencies for shfmt extension
|
||||||
curl -sS https://webi.sh/shfmt | sh &>/dev/null
|
curl -sS https://webi.sh/shfmt | sh &>/dev/null
|
||||||
|
|
||||||
|
# Add OMZ plugins
|
||||||
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
|
||||||
|
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
|
||||||
|
sed -i -E "s/^(plugins=\()(git)(\))/\1\2 zsh-syntax-highlighting zsh-autosuggestions\3/" ~/.zshrc
|
||||||
|
|
||||||
|
# Avoid git log use less
|
||||||
|
echo -e "\nunset LESS" >>~/.zshrc
|
||||||
|
|
Loading…
Reference in a new issue