Skip to content

honor ~/.profile ? #6

Description

@landroni

It seems that emelFM2 doesn't honor ~/.profile. In mine I have this:

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH:$HOME/Build/Testing/coverity/cov-analysis-linux64-7.6.0/bin"
fi

Yet when I start emelFM2, it doesn't have this last path in its environment:

sh>env | grep -i cov-  (27020)
sh>env | grep -i cov- (27020) returned '1'

However, when I start emelFM2 from a Bash terminal that includes this path, then emelFM2 has it as well in its environment:

geek@liv-inspiron:~/Build/Devel/lyx$ env | grep -i cov-
PATH=/home/geek/Build/Testing/coverity/cov-analysis-linux64-7.6.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

sh>env | grep -i cov-  (27105)
PATH=/home/geek/Build/Testing/coverity/cov-analysis-linux64-7.6.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
sh>env | grep -i cov- (27105) returned '0'

Should emelFM2 honor ~/.profile?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions