Rudy’s OBTF Rudolf Adamkovič

Home / Unix / Bash / Configuration


.profile

# Shell initialization file.

export BC_ENV_ARGS="$HOME"/.bcrc

# Create temporary directories if needed.
# (Notmuch and MPD fail to work without these.)
mkdir -p \
      ~/.cache/notmuch \
      ~/.cache/mpd

mkdir -p ~/org/tmp/torrents

# Initialize Homebrew.
eval "$(/opt/homebrew/bin/brew shellenv)"

# Find Java automatically.
export PATH=/opt/homebrew/opt/openjdk/bin:$PATH

# Find Emacs automatically.
export PATH=~/org/src/emacs/nextstep/Emacs.app/Contents/MacOS/bin:$PATH
export PATH=~/org/src/emacs/nextstep/Emacs.app/Contents/MacOS/:$PATH

# Use the latest GNU Texinfo, not the ancient one bundled with macOS.
# NOTE Necessary for building Org Mode.
export PATH=/opt/homebrew/opt/texinfo/bin:$PATH

# Use the latest GNU Make, not the ancient one bundled with macOS.
export PATH=/opt/homebrew/opt/make/libexec/gnubin:$PATH

# Configure Locale.
export LC_ALL=en_US.UTF-8

# Locate the Password Store files.
export PASSWORD_STORE_DIR=~/org/pass/

© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.