On Mon, Oct 17, 2016 at 12:53:41PM -0400, S. P. Molnar wrote: > comp@AbNormal:~$ alias l > -bash: alias: l: not found
Use "type l" immediately after sourcing the .bashrc file. Then do it again, then do your cd, then do it a third time. If the .bashrc is simply malformed, then the alias ought not to work even the first time. But you reported that it does work once. If the alias is set immediately after "source", but then goes away immediately, then you're probably clobbering it in a DEBUG trap, or in a PROMPT_COMMAND. If the alias persists after the first type command, but goes away when you cd, then you've probably got an alias or function overriding the cd command.