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

profile: add debian PATH support -_-

This commit is contained in:
Joe Groocock 2018-10-19 15:07:09 +01:00
parent e4bc126708
commit 12a46db7dd
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -15,7 +15,7 @@ case "$(basename "$(readlink -f /proc/$$/exe)")" in
*) thisfile="$(find /proc/$$/fd/ | xargs -n1 -r readlink -f | grep profile | head -n1)";;
esac
export DOTFILES="$(dirname "${thisfile:-$XDG_CONFIG_HOME/dotfiles/.profile}")"
export PATH="${PATH}:$DOTFILES/scripts"
export PATH="${PATH}:/sbin:/usr/sbin:$DOTFILES/scripts"
# Override paths for non-compliant programs
# https://wiki.archlinux.org/index.php/XDG_Base_Directory_support