Skip to content

ajixuan/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

360 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap

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.

  1. Download latest VBoxGuestAdditions
  2. Insert the iso into optical drive
  3. Mount optical drive by command sudo mount /dev/cdrom /mnt/
  4. 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

Install Dotfiles

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 no

Pull dotfiles

alias 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 checkout

checking out individual files

dotfiles checkout master -- <filename>

Add new dotfiles

You can check the status of your file by running:

dotfiles status

Add the new dotfiles with:

dotfiles add <new file>
dotfiles commit -m "new dotfile added"

About

My dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors