2016-07-26 15:05:00 +02:00
|
|
|
## 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"
|
|
|
|
|
2016-10-08 23:19:58 +02:00
|
|
|
## 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
|
|
|
|
|
2016-08-05 01:39:33 +02:00
|
|
|
## 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
|
|
|
|
|
2016-07-26 13:57:10 +02:00
|
|
|
systemctl --user import-environment PATH
|