# Personal initialization of my login shell
#
# Changing?  Then consider running `source /etc/profile-personal` in each open terminal.
#
# PUBLIC at `http://reluk.ca/.profile` because project Makeshift refers to it there.
# http://reluk.ca/project/Makeshift/project_installation.brec.xht

  # EDITOR=/usr/local/bin/e
  # export EDITOR # Though surely it already is.
  ## It changes the behaviour by forking the editor and exiting directly instead of waiting on it,
  ## which causes (e.g.) `git commit` to abort.  It would need an option to defeat that behaviour.

    JDK_HOME=/var/unbak/opt/jdk-22.0.1
                    JDK_VERSION=22 # Used in the likes of `~/_/scratch/Java_shebanged_source_launch`.
    export JDK_HOME JDK_VERSION

    PATH=$HOME/sys/bin:$PATH # Ensuring a prior ‘:’ separator for `sed`, below.
  # PATH=$(echo $PATH | sed -e 's,:/usr/x86_64-pc-linux-gnu/gcc-bin/[^:]*,,') # GCC not wanted.
    PATH=$(echo $PATH | sed -e 's,:/usr/lib/llvm/[^:]*/bin,,') # LVM commands not wanted.
      # Somehow `sed` fails here when using `+` instead of `*`.
    PATH=$PATH:$HOME/.local/bin
      # Where PIP puts the executables of my personal Python packages.
    PATH=$PATH:$HOME/work/Java/bin
      # As instructed at `http://reluk.ca/project/Java/project_installation.brec.xht`.
    PATH=$PATH:$HOME/work/Makeshift/bin
      # As instructed at `http://reluk.ca/project/Makeshift/project_installation.brec.xht`.
    PATH=$PATH:$JDK_HOME/bin
    export PATH # Though surely it already is.

    export XSESSION=openbox # https://wiki.gentoo.org/wiki/Openbox#Starting
      # Used via `/etc/X11/xinit/xinitrc` ← `/etc/X11/chooser.sh` ← `/etc/X11/Sessions/openbox`.