Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.03 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.03 KB

Ack's bash setup

Lint

My own Bash shell configuration.

The entry point is the bashrc file in the top directory, which can be just sourced from (or copied as) ~/.bashrc.

The repository consists of the following directories:

  • bin: contains standalone scripts.

  • lib: contains files with helper functions. These are automatically made available in the shell, and can be also sourced in other scripts. The path of the directory is available as $SYSTEM_SH_LIB_DIR.

  • rc.d: actual bash configuration (environment variables, aliases, ...), these are basically what goes in .bashrc, split in different files. Files in this directory are automatically sourced at shell startup in alphabetic order.

Setup

To install:

mkdir -p ~/system
git clone https://github.com/albertodonato/bash.d ~/system/bash.d
mv ~/.bashrc ~/.bashrc.orig
ln -sf system/bash.d/bashrc ~/.bashrc