Re: :shell and .bash_login

2009-01-02 Thread Ted Pavlic
See this post: http://phaseportrait.blogspot.com/2007/12/file-associations-and-path-with-macvim.html which summarizes the common ways to fix this problem on OS X. Especially because the most recent MacVim snapshot has updated its file association database significantly, the best choice is

Re: :shell and .bash_login

2009-01-01 Thread James Kanze
On Dec 31 2008, 7:41 pm, Gary Johnson garyj...@spk.agilent.com wrote: On 2008-12-31, Hunt Jon wrote: [...] If you want bash to do more than it does now when run from Vim, put those extra shell commands and settings in your ~/.bashrc file. I wouldn't think you'd need to make all the

:shell and .bash_login

2008-12-31 Thread Hunt Jon
Hi I'm using a Mac and VIM, which comes by default. If I run :shell, the shell doesn't seem to read any shell startup files such as .bash_login, .profile or .bash_profile. The prompt just says: bash-3.2$, which is different from what I get when I open a Terminal window. Is there any way to VIM

Re: :shell and .bash_login

2008-12-31 Thread Gary Johnson
On 2008-12-31, Hunt Jon wrote: Hi I'm using a Mac and VIM, which comes by default. If I run :shell, the shell doesn't seem to read any shell startup files such as .bash_login, .profile or .bash_profile. The prompt just says: bash-3.2$, which is different from what I get when I open a

Re: :shell and .bash_login

2008-12-31 Thread Ted Pavlic
Pardon the terse response. I'm on a cell phone. Look at shcf setting in vim. Change to -lc to run a login shell. Otherwise use macvim with login shell pref checked on. Or adjust your environment.plist file. On 12/31/08, Gary Johnson garyj...@spk.agilent.com wrote: On 2008-12-31, Hunt Jon

Re: :shell and .bash_login

2008-12-31 Thread Gary Johnson
On 2008-12-31, Ted Pavlic wrote: Pardon the terse response. I'm on a cell phone. Look at shcf setting in vim. Change to -lc to run a login shell. 'shcf' doesn't apply here. The OP is not executing a ! or :! command--he's executing :shell, which doesn't use 'shcf'. Regards, Gary