Tag Info

New answers tagged

1

If your terminal starts a normal bash session, that bash will read in ~/.bashrc. If you have additional commands in ~/.bash_profile, those will only be read by the login shell and not by a non-login bash start. You can easily source ~/.bashrc from ~/.bash_profile with something like: if [ -f ~/.bashrc ]; then . ~/.bashrc fi And then move everything else ...


0

In the spirit of this I will answer my own question. So to get this to work: Open the terminal application in Centos (In the Applications\Accessories\Terminal) Select the Edit\Current Profile (If you want to make this the default for your current profile) Select the "Title and Command" tab and tick the option "Run command as login shell" This then ...


1

Solution: This happens because the Jenkins master connects to the slave machine via non-interactive shell, so /etc/profile is not executed, and also /etc/default/locale does not have any effect. non-interactive shells are usually using ~/.bashrc. Nearly all details about this topic can be found on askubuntu: ...


0

First I'd look in /etc/bash_completion It should look like . /usr/share/bash-completion/bash_completion (don't miss the . in the start of line) If it did not help I'll try to find all links in bash files find / -name *bash* -type f -exec grep -l completion {} \+ 2>/dev/null and check it for mistakes. In some file should be following code if ! shopt ...



Top 50 recent answers are included