Indent bash PATH additions for readability
We could use ``done<<-EOS'' with tabs to also indent the final EOS but that would introduce mixed indents in our file. The indentation added by this commit makes the file readable enough.
This commit is contained in:
parent
b608d71738
commit
e6d06f00cb
1 changed files with 11 additions and 11 deletions
|
@ -69,12 +69,12 @@ bashrc_customize_paths() {
|
|||
PATH="$p:$PATH"
|
||||
fi
|
||||
done <<EOS
|
||||
$prefix/bin
|
||||
$prefix/opt/man-db/libexec/bin
|
||||
$prefix/opt/coreutils/libexec/gnubin
|
||||
$prefix/opt/gnu-sed/libexec/gnubin
|
||||
$HOME/.local/bin
|
||||
$HOME/bin
|
||||
$prefix/bin
|
||||
$prefix/opt/man-db/libexec/bin
|
||||
$prefix/opt/coreutils/libexec/gnubin
|
||||
$prefix/opt/gnu-sed/libexec/gnubin
|
||||
$HOME/.local/bin
|
||||
$HOME/bin
|
||||
EOS
|
||||
export PATH
|
||||
|
||||
|
@ -87,11 +87,11 @@ EOS
|
|||
MANPATH="$p:$MANPATH"
|
||||
fi
|
||||
done <<EOS
|
||||
$prefix/share/man
|
||||
$prefix/opt/man-db/libexec/man
|
||||
$prefix/opt/coreutils/libexec/gnuman
|
||||
$prefix/opt/gnu-sed/libexec/gnuman
|
||||
$HOME/.local/share/man
|
||||
$prefix/share/man
|
||||
$prefix/opt/man-db/libexec/man
|
||||
$prefix/opt/coreutils/libexec/gnuman
|
||||
$prefix/opt/gnu-sed/libexec/gnuman
|
||||
$HOME/.local/share/man
|
||||
EOS
|
||||
export MANPATH
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue