Repo for my personal .bashrc file and related files (.bash_aliases, etc). Several years of accumulated cruft so don't take this as an example.
Recursively clone this repo into something like ~/dotfiles/dotbashrc
, and
symlink the dotfiles to the corresponding files in your home directory:
mkdir -p ~/dotfiles
cd ~/dotfiles
git clone --recurse-submodules https://github.com/fardaniqbal/dotbashrc
# Or git clone --recurse-submodules [email protected]:fardaniqbal/dotbashrc.git
# to clone through ssh.
ln -s dotfiles/dotbashrc/.bashrc ~/.bashrc
ln -s dotfiles/dotbashrc/.bash_profile ~/.bash_profile
Optionally, if you're using GNU ls
but you don't like the colors it uses
by default, then you can symlink one of the files in this repo's
dircolors
directory to ~/.dircolors
. For example:
ln -s dotfiles/dotbashrc/dircolors/solarized.ansi-universal ~/.dircolors
- My personal
.inputrc
: controls how bash interprets user input (e.g., emacs-vs-vi key bindings, case-(in-)sensitive completion, etc). Although this file is obviously relevant to bash's UX, I keep it in a seperate repo because it affects the UX of all programs that use thereadline
library, including but not limited to bash.
This repo may contain (or have submodules of) 3rd-party content. The copyrights of said 3rd-party content belong to their respective authors, and their licenses can be found in their containing subdirectories or source files. Unless mentioned otherwise, my (Fardan Iqbal's) own content in this repo is public domain.