Tagged Questions
0
votes
1answer
42 views
gVim does not source .bashrc, .bash_profile, or .profile from non-interactive non-login shell
I have the following on my .vimrc
set shell=C:/cygwin/bin/bash
set shellcmdflag=-c
set shellxquote=\"
So the shell I am using is non-interactive and non-login.
I thought that non-login shells ...
0
votes
1answer
82 views
csh -> bash, autostart .bashrc PCBSD (FREEBSD)
Hey Im stucked with this problem...
Im using PCBSD (freebsd) which has default csh shell, now I wanted to use bash as a default so I made
> chsh -s /bin/bash milo
now i have in passwd
> ...
3
votes
1answer
443 views
Bash shell: how to reconcile portable configuration files and GUI terminal start-up types (login or interactive)?
In an attempt to "properly" implement a standard configuration of my preferred shell, bash, for use across multiple platforms, I've come across some confusion when dealing with terminals that are ...
7
votes
2answers
8k views
Bash not loading '.profile' in new session on Linux
I'm setting up a new Linux machine I got from our IT dept, and noticed .profile is not loaded when I start a new terminal session. The current shell is Bash, though I changed it from the default sh it ...
7
votes
3answers
4k views
What's the difference between /etc/bash.bashrc and ~/.bashrc? Which one should I use?
When should I use each of the two .bashrc files to set my aliases, prompt, etc?