https://github.com/bdronneau/dotfiles
Make life easier with dotfiles
https://github.com/bdronneau/dotfiles
bash bash-script dotfiles
Last synced: 3 months ago
JSON representation
Make life easier with dotfiles
- Host: GitHub
- URL: https://github.com/bdronneau/dotfiles
- Owner: bdronneau
- Created: 2018-12-07T10:17:05.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2026-04-09T12:33:04.000Z (3 months ago)
- Last Synced: 2026-04-09T14:29:25.352Z (3 months ago)
- Topics: bash, bash-script, dotfiles
- Language: Shell
- Size: 1.4 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# dotfiles
[](https://github.com/bdronneau/dotfiles/actions?query=branch%3Amaster)
[](https://sonarcloud.io/dashboard?id=bdronneau_dotfiles) [](https://sonarcloud.io/dashboard?id=bdronneau_dotfiles) [](https://sonarcloud.io/dashboard?id=bdronneau_dotfiles) [](https://sonarcloud.io/dashboard?id=bdronneau_dotfiles)
Yet another `.dotfiles` repository
## Installation
_debug_: `DOTFILES_DEBUG=true`
```bash
git clone --depth 1 git@github.com:bdronneau/dotfiles.git
bash ./dotfiles/install.sh
```
## Configuration
On start if `DOTFILES_CONFIG` is not defined, script will ask to load one of configuration file available in `config/`.
Script search for `DOTFILES_filenamefrominstalldir` environment variable. For example, if `export DOTFILES_NODE=true` so install/node.sh will be take care in consideration.
This is reverse from
## Bash
### Compatibility
Since a using an os with old bash version, backward is implement
```bash
local OS=$(uname -s | tr '[:upper:]' '[:lower:]')
```
instead of
```bash
local ARCH=$(uname -m)
echo "${ARCH,,}"
```
### Mac
### Default shells
Changing the default shell (done by `install/_packages.sh`)
```bash
sudo -s
echo $(brew --prefix)/bin/bash >> /etc/shells
chsh -s $(brew --prefix)/bin/bash
```
And also for current user
```bash
chsh -s $(brew --prefix)/bin/bash
```
## Manual actions
### Debian
```shell
sudo apt update && sudo apt install -y git
```
### Manjaro
```bash
sudo pacman -S vim gcc
```
in `.localrc`
```bash
export WORKON_HOME=~/.virtualenvs
source /usr/bin/virtualenvwrapper.sh
```
## Testing
Using [shellcheck](https://www.shellcheck.net/).
### Run
```bash
shellcheck -P bin/ -x bin/utils.sh init.sh
shellcheck -P bin/ -x bin/utils.sh install/*.sh
```
## Links
- Based on work done by [@ViBiOh](https://github.com/ViBiOh/dotfiles)
-
-
-