Link to home
Start Free TrialLog in
Avatar of dwcronin
dwcroninFlag for United States of America

asked on

trying to add .bash_aliases to .bashrc

in .bashrc there is an area where you add aliases.  It had been set up so you could store all your aliases in an external file ".bashrc_aliases".  There was something like (i forget the exact syntax):
if -f ".bashrc_aliases"
< SOME TEXT THAT INCLUDES THE ".bashrc_aliases" FILE>
fi
I erased the text between if and fi and I put the .bashrc_aliases file into .bashrc trying to find an error.  I found the typo and now I want to move the aliases from .bashrc back to the file ".bashrc_aliases".  I forget what I erased between if and fi to include the file ".bashrc_aliases".
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dwcronin

ASKER

thank you