[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Strange Problem with 'alias'




> On Nov 8, 2016, at 2:01 PM, S. P. Molnar <s.molnar@sbcglobal.net> wrote:
> 
> I am running Debian v-8.5.0 with the bash shell and a number of alias's defined.
> 
> For example alias l='ls -l --color'
> 
> When I boot the system none of the definitions of alias in .bashrc are active.  That is until I open a terminal and input source .bashrc.  So far, so good alias works - in that terminal!  If I open a tab in the same terminal the alias's are gone!!!
> 
> I keep the system up to date.
> 
> Is this fatal?  NO  Very annoying? YES
> 
> I  don't have the faintest idea as to what is going on.
> 
> A solyutio to this problem, short of a new installation of the OS, will be very appreciated.  Thanks in advance.
> 
> 


There is a difference between login shell and interactive shell.

Put your aliases into .bash_ptofile
> 


Reply to: