profile.linux: Arch Guile /usr/local prefix fixup
This commit is contained in:
parent
fd6b76c830
commit
9002e98b5e
2 changed files with 9 additions and 1 deletions
2
.bashrc
2
.bashrc
|
|
@ -27,7 +27,7 @@ command -v uname >/dev/null &&
|
|||
case $(uname) in
|
||||
Linux)
|
||||
alias ls='ls --color'
|
||||
[ -f /etc/os-release ] && . /etc/os-release
|
||||
[ -z "$ID" ] && [ -f /etc/os-release ] && . /etc/os-release
|
||||
;;
|
||||
Darwin)
|
||||
command -v port >/dev/null && . /opt/local/etc/bashrc.mac
|
||||
|
|
|
|||
|
|
@ -10,6 +10,14 @@ if [ -z "$XDG_RUNTIME_DIR" ]; then
|
|||
export LIBSEAT_BACKEND=seatd
|
||||
fi
|
||||
|
||||
[ -z "$ID" ] && [ -f /etc/os-release ] && . /etc/os-release
|
||||
case $ID in
|
||||
arch)
|
||||
export GUILE_LOAD_PATH='/usr/local/share/guile/site/3.0:/usr/share/guile/3.0:/usr/share/guile/site/3.0:/usr/share/guile/site:/usr/share/guile'
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
if [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" == '/dev/tty1' ] && command -v sway; then
|
||||
exec dbus-run-session sway -d |& tee /tmp/sway-$UID.log
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue