Set the custom bin path within a dedicated script

The custom bin path was set in multiple places. Each time, the line
was identical and supposed the use of a /bin/sh emulation with a
common extension. To reduce duplicated code and support other
platforms, the custom bin path is now set in a dedicated script that
can be source'd.
This commit is contained in:
Rodolphe Breard 2017-02-12 16:09:16 +01:00
parent e24502769b
commit 01472b6d05
5 changed files with 12 additions and 5 deletions

View file

@ -1,7 +1,7 @@
[ -f ~/.xprofile ] && . ~/.xprofile
[ -f ~/.setpath.sh ] && . ~/.setpath.sh
DEFAULT_SESSION=qtile
[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$HOME/bin:$PATH"
case "$1" in
awesome)