Skip to content

josephtingiris/bd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bash.d

bash directory (bash.d) autoloader

user install

  1. git clone bd into your home directory
cd && git clone https://github.com/bash-d/bd .bd
  1. and, replace your .bash_profile and .bashrc with the included examples
cd && cp .bd/.bash* .
  1. or, add something like this to the end of your .bash_profile and/or .bashrc
[ -r ~/.bd/00bd.sh ] && source ~/.bd/00bd.sh ${@}

supported environment variables

  • BD_DEBUG = <level> # Integer > 0. Enable additional output to stderr.
  • BD_ANSI_EXPORT = 1 # 1, true, or yes. Leave the bd_ansi() function exported to your environment (for use in other scripts).
  • BD_DEBUG_EXPORT = 1 #Use 1, true, or yes. Leave the bd_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.

license

https://github.com/bash-d/bd/blob/main/LICENSE.md

notes

Help Wanted

About

a bash autoloader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%