bash directory (bash.d) autoloader
- git clone
bd
into your home directory
cd && git clone https://github.com/bash-d/bd .bd
- and, replace your
.bash_profile
and.bashrc
with the included examples
cd && cp .bd/.bash* .
- or, add something like this to the end of your
.bash_profile
and/or.bashrc
[ -r ~/.bd/00bd.sh ] && source ~/.bd/00bd.sh ${@}
BD_DEBUG
=<level>
# Integer > 0. Enable additional output to stderr.BD_ANSI_EXPORT
=1
# 1, true, or yes. Leave thebd_ansi()
function exported to your environment (for use in other scripts).BD_DEBUG_EXPORT
=1
#Use 1, true, or yes. Leave thebd_debug()
function exported to your environment (for use in other scripts).BD_LEARN
=1
# Use 1, true, or yes to leave the BD_BAG_DIRS() array set when bd is re-sourced.
https://github.com/bash-d/bd/blob/main/LICENSE.md
Help Wanted