linux - How to use a different .bashrc -


i got common .bashrc in /home/ folder. have .basrch (.bashrc1) (i have lot of aliases) cannot copy content 1 another. so. want know if there possibility use .bashrc1 default or if there additional command execute aliases .bashrc1

thanks

in .bashrc, put

source /path/to/.bashrc1 

to force bash use different .bashrc (bad practice)

mv ~/.bashrc ~/bob/ bash --rcfile ~/bob/.bashrc 

for example, if use gnome, add custom keyboard shortcut above command.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -