albertodonato / bash.d

My own bash setup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

My own bash setup


Languages

Language:Shell 99.3%Language:Makefile 0.5%Language:Emacs Lisp 0.2%