On 11/06/11 10:57 PM, Stephen Rasku wrote:
I have some customizations in my .vimrc that depend on environment variables to work. If I call MacVim from the terminal these customizations work but if I launch it from the dock it doesn't. I assume this is because my .bashrc is not sourced when launching from the dock but it is when running from the terminal. Is there a way to ensure that the environment variables are set even when MacVim is launched from the dock?
Hi, Stephen, Sounds like you have things in your .bashrc (for interactive non-login shells--or, for some insane reason I have yet to understand, non-interactive non-login shells when invoked by ssh) that you want in .profile (for login shells). MacVim, like Terminal, launches a login shell when it starts Vim instances. But for MacVim it is not an interactive shell. Ben. -- You received this message from the "vim_mac" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
