Re: [STUMP] Sourcing ~/.bashrc when starting Emacs from stumpwm

Shakthi Kannan <[email protected]>
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <CABG-yt1UfjWUFGSy5FVDZqtGtXA0wAQ==8uJNCj959jScn+q=A@mail.gmail.com>
Hi Joram,

--- On Wed, Sep 9, 2015 at 2:17 AM, Joram Schrijver <[email protected]> wrote:
| The reason prefixing your *emacs-command* with `bash -c` doesn't work is
| probably that the shell that is then started is not interactive.
| Non-interactive shells don't source `~/.profile`. Adding `-i` to the
| bash command should turn it into an interactive shell, making it source
| `~/.profile`.
\--

That did it. Using `-i` worked.

Thanks for all your replies!

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.