A set of custom bash primitives, ranging from alias to functions to be used in my day to day work.
- lib/exports: Exports needed to support initializing commands.
- lib/init: Commands to be loaded in a bash terminal session. Includes bash alias, functions, git alias between others.
After being tired of boredom managing always the same commands when I changed my work or passing to another colleague, I decided to register all commands that usually use.
Some functions assume that specific variables are loaded/exported previously.
cd <WORKING_DIR> && git clone git@github.com:whatisnormal/everyday-scripts.git
echo "
#Sets 'general' everyday-scripts folder path
everyday_scripts_path=<WORKING_DIR>/everyday-scripts
#Loads 'general' scripts.
source ${everyday_scripts_path}/loader
" >> ~/.bash_profileWhen you start a new terminal, all commands will be loaded and available.