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:
Fernando Schauenburg 2019-10-29 18:14:57 +01:00
parent b608d71738
commit e6d06f00cb

View file

@ -69,12 +69,12 @@ bashrc_customize_paths() {
PATH="$p:$PATH" PATH="$p:$PATH"
fi fi
done <<EOS done <<EOS
$prefix/bin $prefix/bin
$prefix/opt/man-db/libexec/bin $prefix/opt/man-db/libexec/bin
$prefix/opt/coreutils/libexec/gnubin $prefix/opt/coreutils/libexec/gnubin
$prefix/opt/gnu-sed/libexec/gnubin $prefix/opt/gnu-sed/libexec/gnubin
$HOME/.local/bin $HOME/.local/bin
$HOME/bin $HOME/bin
EOS EOS
export PATH export PATH
@ -87,11 +87,11 @@ EOS
MANPATH="$p:$MANPATH" MANPATH="$p:$MANPATH"
fi fi
done <<EOS done <<EOS
$prefix/share/man $prefix/share/man
$prefix/opt/man-db/libexec/man $prefix/opt/man-db/libexec/man
$prefix/opt/coreutils/libexec/gnuman $prefix/opt/coreutils/libexec/gnuman
$prefix/opt/gnu-sed/libexec/gnuman $prefix/opt/gnu-sed/libexec/gnuman
$HOME/.local/share/man $HOME/.local/share/man
EOS EOS
export MANPATH export MANPATH
} }