I have these lines saved on my .bash_aliases:
alias sss='source ~/.bashrc'
alias merc='source /usr/local/mermaid-bootload/environment-setup-cortexa7t2hf-neon-oe-linux-gnueabi'
When I invoke merc
, this shows up:
bash: /usr/local/mermaid-bootload/environment-setup-cortexa7t2hf-neon-oe-linux-gnueab: No such file or directory
Notice that gnueabi in the prompt is missing an "i" which baffles me.
I can confirm that the source path is written correctly in .bash_aliases
file (when I cat
the file, or open it in vi
or nano
).
I can also manually source the file when typing out the same command manually -or- copying the exact line from .bash_aliases
and middle-clicking on the terminal.
What gives? Can someone please help? Thanks in advance.
merc
that is loaded after.bash_aliases
is sourced (perhaps later in your ~/.bashrc file)? what are the outputs ofalias merc
andtype -a merc
?merc
is also in the ~/.bashrc file and it has that missing "i". Silly me.