bash:functions:local_vs_global_functions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
bash:functions:local_vs_global_functions [2020/05/16 13:10] – peter | bash:functions:local_vs_global_functions [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 38: | Line 38: | ||
Have your .bashrc load it, by adding the following to the ./bashrc file: | Have your .bashrc load it, by adding the following to the ./bashrc file: | ||
- | <code bash> | + | <file bash ~/.bashrc> |
if [ -f ~/ | if [ -f ~/ | ||
. ~/ | . ~/ | ||
fi | fi | ||
- | </code> | + | </file> |
or | or | ||
- | <code file ./bashrc> | + | < |
if [ -e $HOME/ | if [ -e $HOME/ | ||
source $HOME/ | source $HOME/ |
bash/functions/local_vs_global_functions.1589634655.txt.gz · Last modified: 2020/07/15 09:30 (external edit)