mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-07-01 00:26:00 +00:00
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:
parent
9fe9c3b3f2
commit
847b847c79
7 changed files with 114 additions and 35 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue