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:
parent
e24502769b
commit
01472b6d05
5 changed files with 12 additions and 5 deletions
|
@ -1,5 +1,6 @@
|
|||
[ -f /etc/xprofile ] && . /etc/xprofile
|
||||
[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
|
||||
[ -f ~/.setpath.sh ] && . ~/.setpath.sh
|
||||
|
||||
setxkbmap -option compose:menu
|
||||
setxkbmap -option compose:rwin
|
||||
|
@ -7,5 +8,3 @@ setxkbmap -option compose:rwin
|
|||
hash xcompmgr 2>/dev/null && xcompmgr &
|
||||
hash xscreensaver 2>/dev/null && xscreensaver -no-splash &
|
||||
hash gpg-agent 2>/dev/null && eval $(gpg-agent --daemon --enable-ssh-support)
|
||||
|
||||
[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$HOME/bin:$PATH"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue