Skip to content

My dotfiles for nvim, fish and i3wm etc. OS: manjaro, WM: i3-wm, Editor: nvim, Shell: fish

Notifications You must be signed in to change notification settings

y011d4/dotfiles

Repository files navigation

dotfiles

Prerequisites

TODO

Install

I adopt a technique here. Execute the following bash script.

git clone --bare https://github.com/y011d4/dotfiles.git $HOME/.dotfiles.git
alias dotfiles="git --git-dir=$HOME/.dotfiles.git --work-tree=$HOME"
dotfiles config status.showuntrackedfiles no
dotfiles checkout
# if some files are conflicted, make backup and then checkout
if [ $? -ne 0 ]; then
  for i in $(dotfiles checkout 2>&1 | head -n -2 | awk 'NR>1{print $1}'); do
    mv $i $i.bk
  done
  dotfiles checkout
fi

Enabling tig

dotfiles config alias.tig "!tig"
dotfiles tig

About

My dotfiles for nvim, fish and i3wm etc. OS: manjaro, WM: i3-wm, Editor: nvim, Shell: fish

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages