Yet another .dotfiles
repository
debug: DOTFILES_DEBUG=true
git clone --depth 1 git@github.com:bdronneau/dotfiles.git
bash ./dotfiles/install.sh
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
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,,}"
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
pyenv install 3.10.0
sudo pacman -S vim gcc
in .localrc
export WORKON_HOME=~/.virtualenvs
source /usr/bin/virtualenvwrapper.sh
Using shellcheck.
shellcheck -P bin/ -x bin/utils.sh init.sh
shellcheck -P bin/ -x bin/utils.sh install/*.sh