Skip to content

KrisjanisP/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kpetrucena dotfiles

These are my personal dotfiles. Feel free to look around but don't expect anything good.

getting started

Create a .dotfiles folder:

git init --bare $HOME/.dotfiles

Crate an alias dotfiles so you don't need to type it all over again:

alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME

Set git status to hide untracked files:

dotfiles config --local status.showUntrackedFiles no

usage

Now you can use regular git commands such as:

dotfiles status
dotfiles add .config/neovim
dotfiles commit -m "add neovim"
dotfiles push

setup environment in a new computer

Clone the github repository:

git clone --bare https://github.com/KrisjanisP/dotfiles.git $HOME/.dotfiles

Checkout the actual content from the git repository:

dotfiles checkout

additional notes

Because the alacritty config requires specific fonts to be installed, I have added the script ./scripts/setup-fonts.sh.

The script downloads FiraCode Nerd Font zip file into a temporary directory, unzips the archive and moves .ttf and .otf files into ${HOME}/.fonts. Afterwards it refreshes font cache.

About

My personal linux dotfiles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published