This repository contains the dotfiles and configs I use with bash. It is designed to work with GNU stow, but can easily be used without it.
# if you don't already have GNU stow, install stow for your OS
# clone this repo in to a .files directory
git clone -q https://gitlab.com/dpremy/dot-bash.git ~/.files/dot-bash
# use stow to symlink this 'package' in to your home directory
stow -d ~/.files/ -t ~/ -S dot-bashNixOS may not load ~/.bashrc due to a variety of issues related to shells and which files are loaded when. See here for more detail on this issue.
The easiest fix is to likely create ~/.bash_profile with the following content:
# ~/.bash_profile
[[ $- == *i* && -f "$HOME/.bashrc" ]] && source "$HOME/.bashrc"The files in .bash may be worth reviewing.