1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

profile: dynamically calculate DOTFILES directory

This commit is contained in:
Joe Groocock 2018-03-29 11:09:44 +01:00
parent ce1b6bdffc
commit 0623fdb4ea
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -4,7 +4,7 @@ export LC_NUMERIC=en_GB
export CONFIG_DIR="$HOME/.config" export CONFIG_DIR="$HOME/.config"
export XDG_CONFIG_HOME="$CONFIG_DIR" export XDG_CONFIG_HOME="$CONFIG_DIR"
export DOTFILES="$CONFIG_DIR/dotfiles" export DOTFILES="$(dirname "$(readlink -m "$0")")"
export PATH="${PATH}:$DOTFILES/scripts" export PATH="${PATH}:$DOTFILES/scripts"
export XDG_CURRENT_DESKTOP="GNOME" # Fixes xdg-open export XDG_CURRENT_DESKTOP="GNOME" # Fixes xdg-open