Skip to content

Make life easier with dotfiles

Notifications You must be signed in to change notification settings

bdronneau/dotfiles

Repository files navigation

dotfiles

Vulnerabilities Code Smells Security Rating Quality Gate Status

Yet another .dotfiles repository

Installation

debug: DOTFILES_DEBUG=true

git clone --depth 1 [email protected]: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 https://github.com/ViBiOh/dotfiles#configuration

Bash

Compatibility

Since a using an os with old bash version, backward is implement

local OS=$(uname -s | tr '[:upper:]' '[:lower:]')

instead of

local ARCH=$(uname -m)
echo "${ARCH,,}"

Mac

Default shells

Changing the default shell (done by install/_packages.sh)

sudo -s
echo $(brew --prefix)/bin/bash >> /etc/shells
chsh -s $(brew --prefix)/bin/bash

And also for current user

chsh -s $(brew --prefix)/bin/bash

Manual actions

Global

pyenv install 3.10.0

Manjaro

sudo pacman -S vim gcc

in .localrc

export WORKON_HOME=~/.virtualenvs
source /usr/bin/virtualenvwrapper.sh

Testing

Using shellcheck.

Run

shellcheck -P bin/ -x bin/utils.sh init.sh
shellcheck -P bin/ -x bin/utils.sh install/*.sh

Links

About

Make life easier with dotfiles

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •