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:
parent
e4bc126708
commit
12a46db7dd
2
.profile
2
.profile
@ -15,7 +15,7 @@ case "$(basename "$(readlink -f /proc/$$/exe)")" in
|
|||||||
*) thisfile="$(find /proc/$$/fd/ | xargs -n1 -r readlink -f | grep profile | head -n1)";;
|
*) thisfile="$(find /proc/$$/fd/ | xargs -n1 -r readlink -f | grep profile | head -n1)";;
|
||||||
esac
|
esac
|
||||||
export DOTFILES="$(dirname "${thisfile:-$XDG_CONFIG_HOME/dotfiles/.profile}")"
|
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
|
# Override paths for non-compliant programs
|
||||||
# https://wiki.archlinux.org/index.php/XDG_Base_Directory_support
|
# https://wiki.archlinux.org/index.php/XDG_Base_Directory_support
|
||||||
|
Loading…
Reference in New Issue
Block a user