update PATH & make xinitrc source /etc/profile

Fixes flatpaks & snaps with dmenu
This commit is contained in:
Aminda Suomalainen 2019-02-17 21:58:53 +02:00
parent d406334560
commit b242822ee5
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
4 changed files with 5 additions and 3 deletions

View File

@ -187,7 +187,7 @@ fi
TZ=$(date +%Z) TZ=$(date +%Z)
# Sets PATH. To add another path, add :</path/to/new/path> to string below. # Sets PATH. To add another path, add :</path/to/new/path> to string below.
PATH=$HOME/.local/bin:$HOME/bin:/snap/bin:$HOME/go/bin:/usr/local/bin:/usr/local/sbin:/usr/local/games:/usr/bin:/usr/sbin:/usr/games:/bin:/sbin:/games:$PATH PATH=$HOME/.local/bin:$HOME/bin:$HOME/go/bin:$HOME/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/snap/bin:/usr/local/bin:/usr/local/sbin:/usr/local/games:/usr/bin:/usr/sbin:/usr/games:/bin:/sbin:/games:$PATH
# Add RubyGems to PATH # Add RubyGems to PATH
if hash ruby 2>/dev/null; then if hash ruby 2>/dev/null; then

View File

@ -1,5 +1,5 @@
# Set PATH properly # Set PATH properly
PATH=$HOME/.local/bin:$HOME/bin:$HOME/go/bin:/snap/bin:/usr/local/bin:/usr/local/sbin:/usr/local/games:/usr/bin:/usr/sbin:/usr/games:/bin:/sbin:/games:$PATH PATH=$HOME/.local/bin:$HOME/bin:$HOME/go/bin:$HOME/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/snap/bin:/usr/local/bin:/usr/local/sbin:/usr/local/games:/usr/bin:/usr/sbin:/usr/games:/bin:/sbin:/games:$PATH
# Add RubyGems to PATH # Add RubyGems to PATH
if hash ruby 2>/dev/null; then if hash ruby 2>/dev/null; then

View File

@ -1,3 +1,5 @@
# flatpak & snap & co.
. /etc/profile
# Using dbus-launch seems to be necessary here to get dbus up, otherwise # Using dbus-launch seems to be necessary here to get dbus up, otherwise
# there are errors about it missing and pasystray & nm-applet cannot be # there are errors about it missing and pasystray & nm-applet cannot be
# interacted with. # interacted with.

View File

@ -145,7 +145,7 @@ fi
TZ=$(date +%Z) TZ=$(date +%Z)
# Sets PATH. To add another path, add :</path/to/new/path> to string below. # Sets PATH. To add another path, add :</path/to/new/path> to string below.
PATH=$HOME/.local/bin:$HOME/bin:$HOME/go/bin:/snap/bin:/usr/local/bin:/usr/local/sbin:/usr/local/games:/usr/bin:/usr/sbin:/usr/games:/bin:/sbin:/games:$PATH PATH=$HOME/.local/bin:$HOME/bin:$HOME/go/bin:$HOME/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/snap/bin:/usr/local/bin:/usr/local/sbin:/usr/local/games:/usr/bin:/usr/sbin:/usr/games:/bin:/sbin:/games:$PATH
# Add RubyGems to PATH # Add RubyGems to PATH
if hash ruby 2>/dev/null; then if hash ruby 2>/dev/null; then