dotfiles
dotfiles copied to clipboard
Dotfiles for configuring my terminal environment
dotfiles
How it works?
Please have a look at my article here
Installation
curl "https://dotfiles.vibioh.fr/bootstrap" | bash
Update
"${HOME}/code/dotfiles/init" -a
Configuration
You can set following environment variables for customizing installation behavior:
DOTFILES_NO_NODE="true"doesn't perform install ofinstall/nodefile (replaceNODEby any uppercase filename ininstall/dir)
#!/usr/bin/env bash
# Server configuration example
export DOTFILES_NO__MACOS="true"
export DOTFILES_NO__PASS="true"
export DOTFILES_NO_ALACRITTY="true"
export DOTFILES_NO_APPLE="true"
export DOTFILES_NO_DNS="true"
export DOTFILES_NO_DOCKER="true"
export DOTFILES_NO_FIREFOX="true"
export DOTFILES_NO_GOLANG="true"
export DOTFILES_NO_GPG="true"
export DOTFILES_NO_JSONNET="true"
export DOTFILES_NO_KUBERNETES="true"
export DOTFILES_NO_MINIO="true"
export DOTFILES_NO_NODE="true"
export DOTFILES_NO_PYTHON="true"
export DOTFILES_NO_PYTHON_ANSIBLE="true"
export DOTFILES_NO_PYTHON_IREDIS="true"
export DOTFILES_NO_PYTHON_PGCLI="true"
export DOTFILES_NO_SHELLCHECK="true"
export DOTFILES_NO_SUBLIME="true"
export DOTFILES_NO_SYNCTHING="true"
export DOTFILES_NO_TERRAFORM="true"
SSH
ssh-keygen -t ed25519 -a 100 -C "$(whoami)@$(hostname)" -f "${HOME}/.ssh/id_ed25519"
GPG
gpg --full-generate-key
Command Line Tools (macOS)
Reinstall them by running following command:
sudo rm -rf $(xcode-select -print-path)
xcode-select --install
Brew
Fix it with following command when it's broken.
sudo chown -R "$(whoami)" "$(brew --prefix)"/*
brew doctor