• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

thatrubylove/dotfiles: A most excellent ruby development setup - homebrew, zsh, ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

thatrubylove/dotfiles

开源软件地址:

https://github.com/thatrubylove/dotfiles

开源编程语言:

Vim Script 96.0%

开源软件介绍:

Dotfiles for by Devschool's online coding bootcamp

Check out these awesome ruby and rails screencasts! There is 1 15 minute cast released every week as well as either a 2 Minute Ruby or a 2 Minute Rails screencast!

The Rubylove Dotfiles

I have a confession to make. I am a thief. I steal great ideas and source code and make it my own. Want to know who I have been influenced by and stolen from? Check out my extensive thank you in my ruby manifesto.

My philosophy is this, test, integrate, extend. And to me, workflow is essential. Therefore I am always on the look out for better tools and workflows and my dotfiles are an extension of that.

What is included?

"dot" files

The following "dot" files are included.

  • ackrc
  • gemrc
  • gitignore
  • vimrc
  • zlogin (empty)
  • zshrc

Homebrew, Vim, Chruby, Ruby and proper paths and shit!

This script assumes you are running a mac. It will set up the following if you have not already installed it:

A proper prompt

Knowing what directory you are in is vital. Knowing what git branch you are in is just_as_important!

Your prompt will look like this when you are in a git directory and the tree is clean:

It will look like this when your tree is dirty

Stop using rvm and rbenv

Uninstall RVM and rbenv. Do it now cavewomen and cavemen. This will install chruby with is much_better. It doesn't mess with your paths and I added some yummy goodness... Check out the link to chruby above to see why.

No mas bundle exec, gemsets, or system gem collisions!

This setup includes an alias for bundling gems with binstubs (no bundle exec crap) in the local directory you are in. It will automatically be at the front of your path, so cd into your ruby app with a gemfile, then.....

b
Fetching gem metadata from https://rubygems.org/. ........
Fetching version metadata from https://rubygems.org/..
.....

Yes, you bundle by just typing b... did I mention I am a lazy bastard?

More cool aliases:

Want to see your aliases? In any unix based system just type alias and it will print them out. With this you get even more access!!!

When you type aliases and hit return it opens you aliases in vim!

Vim goodness

Vim is configured to actually be useful here, and without installing bloated things like janus that will run slow as mucky muck. fuck the mucky muck.

Even cooler is when you want to edit your vimrc file you just type ,v in vim and it will open it. Close your vimrc with a write and it will reload it in vim!

Installation

Installation is easy. Clone, cd, rake, profit.

cd && git clone https://github.com/thatrubylove/dotfiles.git && cd ~/dotfiles && rake

Please Note

You need to go into your gitconfig file and under [user] change your name and email. Then go down to bottom of file, and change your [github] username to reflect your GitHub user name.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap