bash:functions:local_vs_global_functions
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
bash:functions:local_vs_global_functions [2020/05/16 13:08] – created peter | bash:functions:local_vs_global_functions [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 12: | Line 12: | ||
We use **/ | We use **/ | ||
- | |||
<WRAP info> | <WRAP info> | ||
Line 39: | 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 file ./ | + | < |
+ | if [ -f ~/.bash_functions ]; then | ||
+ | . ~/ | ||
+ | fi | ||
+ | </ | ||
+ | |||
+ | or | ||
+ | |||
+ | <file bash ~/.bashrc> | ||
if [ -e $HOME/ | if [ -e $HOME/ | ||
source $HOME/ | source $HOME/ |
bash/functions/local_vs_global_functions.1589634530.txt.gz · Last modified: 2020/07/15 09:30 (external edit)