Ensar Sarajčić adc0ca3459 | ||
---|---|---|
.github/workflows | ||
installed_packages | ||
symlinks | ||
tests | ||
windows | ||
.gitattributes | ||
Makefile | ||
README.md |
README.md
.dotfiles
Quick setup
Clone in ~/.dotfiles
and run make:
make bootstrap
Contents
- installed_packages directory used in Linux and Mac installations to create groups of installed packages, which can easily be cloned using clone-installation script. List is generated using migrate-installation script and it can be compared with any other using compare-installation.
- symlinks directory containing many configuration files which are symlinked during installation process in their correct places to be used later
- Git related files - global gitconfig and gitignore
- Shell config files - bash/zsh/fish for linux/mac
- Vim/Nvim config files
- Arch config files - many configuration files controlling most of the setup
- config directory, containing custom configurations for many apps (most of Linux apps and some of Mac OS apps)
- bin director containing many useful scripts, many of them requiring Arch Linux and its setup
- tests directory contains various generic tests that are used in CI to confirm the custom tools and configuration work as expected
Installation manual
Linux (Arch)
- Install Arch based distribution of choice (Arch - https://wiki.archlinux.org/index.php/Installation_guide)
- Install git
- Clone this repo into $HOME
- Run
make bootstrap
- (Optional) Run clone-installation and select installation to clone
Linux (Other)
- Install Linux distribution of choice
- Install git
- Clone this repo into $HOME
- Run make
make bootstrap
- Everything should be fine. Many custom scripts may not work, since they rely on either pacman or some of the basic packages installed using clone-installation script, which is also using pacman
Mac OS
- Clone this repo into $HOME
- Run make
make bootstrap
- If you need more homebrew packages, check installed_packages directory and choose your list. Install it by moving into specific packages set directory and running
brew bundle
(orclone-installation
if you have sourced new ~/.profile)
Windows
- Clone this repo into user home
- Run
make bootstrap
or runwindows/install_windows.bat
directly with double click or through cmd - This will only link vim and git configurations
Post installation steps
After installation optionally check out installed_packages
directory for packages to install using clone-installation
.
This repository also provides a simple way to generate personal ssh keys to be used with used git hosts:
make create_personal_ssh_keys
It is recommended to also clone vimwiki
and use it (this is a private repository and applies only to owner):
make clone_personal_viwiki