Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dpremy/dot-bash
Personal bash configuration files managed by dotfiler.
https://github.com/dpremy/dot-bash
bash bashrc bashrc-configs bsd dot-files linux shell unix
Last synced: 23 days ago
JSON representation
Personal bash configuration files managed by dotfiler.
- Host: GitHub
- URL: https://github.com/dpremy/dot-bash
- Owner: dpremy
- License: other
- Created: 2018-11-23T17:59:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-14T08:34:59.000Z (8 months ago)
- Last Synced: 2024-10-04T21:15:24.672Z (about 1 month ago)
- Topics: bash, bashrc, bashrc-configs, bsd, dot-files, linux, shell, unix
- Language: Shell
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dpremy bash config files and shell aliases
![Build Status](https://ci.davidremy.me/api/badges/dpremy/dot-bash/status.svg)
## Purpose
This repository contains the dotfiles and configs I use with bash. It is designed to work with [GNU stow](https://www.gnu.org/software/stow/), but can easily be used without it.
## Installation
```shell
# 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-bash
```### NixOS
NixOS may not load ~/.bashrc due to a variety of issues related to shells and which files are loaded when. See [here](https://discourse.nixos.org/t/bash-not-sourcing-bashrc/) for more detail on this issue.
The easiest fix is to likely create `~/.bash_profile` with the following content:
```bash
# ~/.bash_profile
[[ $- == *i* && -f "$HOME/.bashrc" ]] && source "$HOME/.bashrc"
```## Usage
The files in [.bash](.bash) may be worth reviewing.