Giter Club home page Giter Club logo

dotfiles's Introduction

My Dotfiles

Background

I am trying to start to manage my dotfiles on github. Here is my attempt.

Dev Env:

  • Vim
  • iTerm2
  • Tmux
  • Zsh (oh-my-zsh)

Installation

For the bare minimum run this:

cd ~/
cwd=$(pwd)
git clone https://github.com/tyrocca/dotfiles.git

This installs the repo.

Installing my vim setup

I use the color scheme solarized with the powerline fonts. I also have ctags installed here.

  • To get my colorscheme install this.
  • For powerline install this.
  • I also included some of the colorscheme configs in the dotfiles

Then install vim

cd ~/
cwd=$(pwd)
rm -rf ~/.ctags
ln -s $cwd/dotfiles/ctags/ctags $cwd/.ctags
rm -rf $cwd/.vim
mkdir $cwd/.vim
rm $cwd/.vimrc
ln -s $cwd/dotfiles/vim/vimrc $cwd/.vimrc
vim

If you want neovim

cd ~/
cwd=$(pwd)
mkdir $cwd/.config
mkdir $cwd/.config/nvim
ln -s $cwd/dotfiles/vim/vimrc $cwd/.config/nvim/init.vim

Installing Tmux

If you don't have tmux install it

  • Ubuntu: sudo apt-get install tmux
  • Mac: brew install tmux

link my config files

cd ~/
cwd=$(pwd)
rm $cwd/.tmux.conf
ln -s $cwd/dotfiles/tmux/tmux.conf $cwd/.tmux.conf

Install zsh

I just switched to zsh and I really like it. I use oh-my-zsh

Installation:

via curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

via wget

sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

Then make it the default shell with chsh -s /bin/zsh, if you can't do that, add this to your bash profile

export SHELL=/bin/zsh
exec /bin/zsh -l

or do this

cd ~/
cwd=$(pwd)
rm $cwd/.bash_profile
ln -s $cwd/dotfiles/zsh/bash_profile $cwd/.bash_profile

You can also install my zshrc!

Mac zshrc
cd ~/
cwd=$(pwd)
rm $cwd/.zshrc
ln -s $cwd/dotfiles/zsh/zsh-mac $cwd/.zshrc
Ubuntu zshrc
cd ~/
cwd=$(pwd)
rm $cwd/.zshrc
ln -s $cwd/dotfiles/zsh/zshrc $cwd/.zshrc

Installing BASH things

cd ~/
cwd=$(pwd)
rm $cwd/.bash_profile
ln -s $cwd/dotfiles/bash/bash_profile $cwd/.bash_profile

Quorum specific

cd quorum-site
rm -rf .git/hooks/pre-commit
cwd=$(pwd)
ln -s $cwd/tests/pre-commit.sh $cwd/.git/hooks/pre-commit

dotfiles's People

Contributors

tyrocca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ojaswritescode

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.