Iron out gpg and gpg-agent config, among other things

Also in this commit:
* Added handle-pinentry wrapper script to exec right pinentry
  based on environment.
* Add VS Code config for stuff like GitLens settings and recommended
  extensions.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
Andrei Jiroh Halili 2023-07-25 02:11:50 +08:00
parent 9fe9c3b3f2
commit 847b847c79
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
7 changed files with 114 additions and 35 deletions

View file

@ -1,4 +1,7 @@
#!/usr/bin/bash
# SPDX-License-Identifier: MPL-2.0
# A mini scirpt to handle chrooting into different environments,
# especially for Alpine Linux devenv on chroots instead of containers/VMs.
# Chroot command is optional and assume login binary
CHROOT_COMMAND=${2:-"/usr/bin/login"}
@ -33,4 +36,4 @@ fi
echo "===> Teleporting to the chroot environment in 3 seconds..."
sleep 3
exec chroot "$TARGET_DIR" ${CHROOT_COMMAND}
exec chroot "$TARGET_DIR" "${CHROOT_COMMAND}"