Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamestomasino/dotfiles-minimal
A minimal, portable dotfiles setup for using dash as interactive shell on linux or bsd
https://github.com/jamestomasino/dotfiles-minimal
Last synced: 1 day ago
JSON representation
A minimal, portable dotfiles setup for using dash as interactive shell on linux or bsd
- Host: GitHub
- URL: https://github.com/jamestomasino/dotfiles-minimal
- Owner: jamestomasino
- Created: 2019-12-25T17:38:34.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-10T12:23:27.000Z (3 months ago)
- Last Synced: 2024-08-10T13:50:21.825Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 766 KB
- Stars: 8
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
My previous [dotfiles](https://github.com/jamestomasino/dotfiles) collection has grown over the years to encompass a huge variety of features that were `bash` focused. Setup relied on some gnu packages that are not available on all systems. The functions wrapping git functionality and other per-prompt processing loaded down the shell and lengthened startup times.
This repository is a reboot. I've stripped out a lot, but kept most of the more useful features that I take advantage of day-by-day. These dotfiles are designed to run with `/bin/sh` or `dash` as the interactive shell. While I may still run `bash` on some machines for tab-completion, this set should prove more portable.
## Usage
* Install with `install.sh`.
* Uninstall with `uninstall.sh`.## Non-login environment
Since everything is shoved into .profile there's nothing set up path-wise for non-login script execution, like cronjobs. I add the following to my user cron if I need the environment populated:
```
SHELL=/bin/bash
BASH_ENV="/home/tomasino/.profile"
```## Linking strategy
The install process will run through this repository recursively looking for individual files. It will link any files into the home directory on an individual file-by-file basis. If the corresponding folder doesn't exist yet, it will be created. The purpose of going file-by-file is to avoid linking any directories and accidentally scooping up other files that may be added there over time.