1.2 KiB
1.2 KiB
XDG
I keep my XDG files in the normal place, but specifying them in an environment variable makes things a little easier/clearer.
Set the config home.
export XDG_CONFIG_HOME="${HOME}/.config"
Set the data home.
export XDG_DATA_HOME="${HOME}/.local/share"
PATH
Add composer binaries 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 it so programs and subshells know about it.
export PATH