Git Product home page Git Product logo

cmugpi-dotfiles's Introduction

GPI does dotfiles

Here you can find the files that GPI uses for initial terminal setup.

Instructions

If you already have a bashrc or a vimrc, wait before running these commands. Read "Advanced Usage" below and use your best judgement.

Otherwise, run these commands while SSH'ed into an Andrew Unix machine:

curl https://raw.githubusercontent.com/cmugpi/dotfiles/master/bash_login > ~/.bash_login
curl https://raw.githubusercontent.com/cmugpi/dotfiles/master/bashrc > ~/.bashrc
curl https://raw.githubusercontent.com/cmugpi/dotfiles/master/bashrc_gpi > ~/.bashrc_gpi

curl https://raw.githubusercontent.com/cmugpi/dotfiles/master/vimrc > ~/.vimrc
git clone https://github.com/gmarik/Vundle.vim ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall

Alternatively, you can run these all with a single command

bash <(curl https://raw.githubusercontent.com/cmugpi/dotfiles/master/install.sh 2> /dev/null) -a

(This runs a bash script from a remote server (the GPI github). Keep in mind that it is not normally a good idea to run a script from curl from an untrusted source.

Don't worry, we'll teach you all about what just happened before the semester ends!

Advanced Usage

The bare minimum for taking GPI is that you need to make sure that the contents of bashrc_gpi are included in your shell configuration on Andrew Unix. The easiest way to do that is with:

curl https://raw.githubusercontent.com/cmugpi/dotfiles/blob/master/bashrc_gpi > ~/.bashrc_gpi
echo "source ~/.bashrc_gpi" >> ~/.bashrc

Alternatively, you can run a single command

bash <(curl https://raw.githubusercontent.com/cmugpi/dotfiles/master/install.sh 2> /dev/null) -m

(This runs a bash script from a remote server (the GPI github). Keep in mind that it is not normally a good idea to run a script from curl from an untrusted source.

This repo contains sample configuration files. Feel free to browse the files to discover some new tricks! They try to be sort of minimal; we'll get into some more advanced configuration tricks near the end of the semester.

cmugpi-dotfiles's People

Contributors

azycheng avatar jez avatar tkadur avatar wpaivine 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.