Giter Site home page Giter Site logo

dotfiles's Introduction

dotfiles

These are my personal dotfiles, containing some crucial scripts, functions and aliases.

Structure

All machines are structured as follows, inside your home dir:

.
├── .config # basic config folder most programs use, should be there already
├── projects # where you will clone every project
├── softwares # software binaries and scripts (not cloned)
└── downloads # where all software will be configured to put downloads (browsers, torrent, etc)

Setup

Setup is really easy:

  • Symlink configuration files for each of the managed configs:
    ./config/setup.sh
  • Link scripts folder inside your softwares folder:
    mkdir $HOME/softwares
    ln -s $HOME/projects/dotfiles/scripts $HOME/softwares/scripts
  • Source functions.sh in your .bashrc; it should look like this:
   # If not running interactively, don't do anything
   [[ $- != *i* ]] && return

   source "$HOME/projects/dotfiles/functions.sh"

   # Env specific custom stuff
   # ...

Note: if you are using zsh, don't forget to make sure your ~/.zshrc is sourcing your bashrc:

  source ~/.bashrc
  • Use the script to install the custom fonts:
    cd ./fonts
    ./install.sh
    # must be run from within fonts folder (TODO fix this!)
  • Setup git only once in your life (changes are persistent):
    ./git-setup.sh # open this file first to change your email and name!
  • Finally, link the .vimrc file:
    ln -s $HOME/projects/dotfiles/.vimrc ~/.vimrc

After that, you must open vim once (v), and see a lot of erros; just run :PlugInstall once to do everything. Next run should give you no errors.

dotfiles's People

Contributors

luanpotter avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.