Giter VIP home page Giter VIP logo

dotfiles's Introduction

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.

dotfiles's People

Contributors

krisjanisp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.