refactor: cleanup scripts and config
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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")") "$@"
|
||||
|
||||
12
containers/base/config/git
Normal file
12
containers/base/config/git
Normal 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
|
||||
Reference in New Issue
Block a user