dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit ba3bb98031eae480fcc64179151ee92f786f67b1 (patch)
parent 084b6e71195d0dba6caf8903fbe87cadcadaea10
Author: Alex Karle <alex@alexkarle.com>
Date:   Wed, 29 Dec 2021 22:13:48 -0500

X11: Source .profile on startup in OpenBSD

I've started keeping local aliases and environment there that need
to be present before spawning st(1) terminals!

Diffstat:
M.xinitrc | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.xinitrc b/.xinitrc @@ -17,8 +17,9 @@ if [ $(uname) = "OpenBSD" ]; then # since xenodm is run as root, we need to export ENV # ~/.shrc otherwise the interactive shells spawned in st - # won't have the right profile - export ENV=~/.shrc + # won't have the right profile. Sourcing .profile should do it + # and get local aliases, etc + . $HOME/.profile # Prefer UTF-8 in X for unicode character support export LC_CTYPE="en_US.UTF-8"