Git Product home page Git Product logo

dotfiles's Introduction

 _____          __     ___  __  __
|     \ .-----.|  |_ .'  _||__||  |.-----..-----.
|   x  ||  o  ||   _||   _||  ||  ||  x__||__ --|
|_____/ |_____||____||__|  |__||__||_____||_____|

Installation

First setup your ~/.bashrc to source the ~/.dotfilesrc and source your ~/.bashrc from your ~/.bash_profile (or ~/.profile) so that it is run when a terminal is opened:

echo '[ -e "$HOME/.dotfilesrc" ] && source "$HOME/.dotfilesrc"' >> "$HOME/.bashrc"
echo '[ -e "$HOME/.bashrc" ] && source "$HOME/.bashrc"' >> "$HOME/.bash_profile"

You will then need to install the dotfiles repo:

git clone https://github.com/ryakad/dotfiles && cd dotfiles
./install.sh

You can now either close and reopen your terminal for the changes to take effect or you can simply source your ~/.bashrc manually with . ~/.bashrc

Note: Running ./install.sh will backup any existing files to ~/.dotfile_backup. If you run the install often you may want to clean that directory from time to time.

Extras

My dotfiles repo also includes some scripts that can be used by adding the dotfile's bin directory to your PATH. You can do this with:

echo '[ -d "$HOME/dotfiles/bin" ] && export PATH="$PATH:$HOME/dotfiles/bin"' >> "$HOME/.bashrc"

If you want the dotfiles functions loaded in non-interactive terminals you can the following to your .bash_profile:

export BASH_ENV="$HOME/.bashrc"

dotfiles's People

Stargazers

 avatar Pierre Cassat avatar

Watchers

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