refactor: cleanup scripts and config

This commit is contained in:
Job
2025-10-12 11:52:31 +02:00
parent 2770628074
commit e3d9dfd392
13 changed files with 118 additions and 112 deletions

View File

@@ -1,9 +1,5 @@
. /etc/bashrc
# === container enter logic - cd to ENTER_DIR ===
ENTER_DIR="${ENTER_DIR/#\~/$HOME}"
[ -d "$ENTER_DIR" ] && cd "$ENTER_DIR"
# === environment ===
export EDITOR=nvim \
WAYLAND_DISPLAY=wayland-0 \

View File

@@ -1,6 +1,3 @@
#!/bin/bash
if [ "$(basename "$0")" != "host" ]; then
host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" $(basename "$0") "$@"
else
host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" "$@"
fi
host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" \
$([ "$(basename "$0")" != "host" ] && echo "$(basename "$0")") "$@"

View File

@@ -0,0 +1,12 @@
[user]
email = job@plabble.org
name = Job79
signingKey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPsqM6ABAaCTQZ+llFXD3CXrYYuIHDEnvz8IBbXddYEc job@plabble.org
[gpg]
format = ssh
[commit]
gpgSign = true
[push]
autoSetupRemote = true
[init]
defaultBranch = main