A set of scripts to bootstrap a workstation, including dotfiles installable via ghar To bootstrap a new system, these are the steps to run:
localectl set-keymap dvorak
pacman -Syyu
pacman -S git
git clone https://github.com/ajixuan/bootstrap.git
cd bootstrap/alis/
./alis.sh
##VirtualBox Setup To make VirtualBox interface usable, the VBoxGuestAdditions is indispensable.
- Download latest VBoxGuestAdditions
- Insert the iso into optical drive
- Mount optical drive by command
sudo mount /dev/cdrom /mnt/ cd /mnt && sudo sh ./VBoxLinuxAdditions.run
##Missing deps Currently there are some package dependencies that aren't being compiled. These will get added in the future
$ sudo apt install libfontconfig1-dev m4 openssl-dev libxcb-composite0-dev
##Compile tools:
build_env/set_runtime.sh
##Setup Vim TODO
https://medium.com/@simontoth/best-way-to-manage-your-dotfiles-2c45bb280049 add this to .bash_aliases:
alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'then run the following:
mkdir .dotfiles
dotfiles init
dotfiles config --local status.showUntrackedFiles noalias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
git clone --bare git@github.com:ajixuan/dotfiles.git $HOME/.dotfiles
dotfiles config --local status.showUntrackedFiles no
dotfiles checkoutchecking out individual files
dotfiles checkout master -- <filename>You can check the status of your file by running:
dotfiles statusAdd the new dotfiles with:
dotfiles add <new file>
dotfiles commit -m "new dotfile added"