I have very long export PATH=A:B:C ...
. Can I make a multiple lines to have more organized one as follows?
export PATH = A:
B:
C:
I have very long
|
|||
|
You can do:
Each subsequent line appends onto the previously defined path. This is generally a good habit, as it avoids trashing the existing path. If you want the new component to take precedence, swap the order:
Alternatively, you might be able to do:
where |
|||||||||
|
You can extend lines in bash using a backslash at the end of a line like this:
Please note that the absence of white space is important here. |
|||
|