dotfiles/zsh/.profile

24 lines
700 B
Bash

## XDG:
# I keep my XDG files in the normal place, but specifying them in an
# environment variable makes things a little easier/clearer.
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_HOME="${HOME}/.local/share"
## PATH:
# Add composer bin to PATH
PATH="${XDG_CONFIG_HOME}/composer/vendor/bin:${PATH}"
# Add "$HOME/usr/bin" to $PATH because that is where I keep all of my
# personal utilities and helper commands.
PATH="${HOME}/usr/bin:${PATH}"
export PATH
## Dbus
# Make the session bus address fixed so other processes can know where
# to find it.
DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$(id -u)/bus"
export DBUS_SESSION_BUS_ADDRESS
systemctl --user import-environment PATH