Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

merged with patrick's changes; removed username from prompt to shorte…

…n the prompt; use whoami to get username
  • Loading branch information...
commit d80ef464340d7f774081e07083b16dd3afc655ad 2 parents 9d7a861 + c196ef2
@betarelease authored
View
12 install.rb
@@ -25,11 +25,14 @@
puts "What should I call your user profile? "
user_profile = gets.chomp
puts "Awesome, I will create #{user_profile}"
+ puts "A sample user profile will be created for you in dotfiles/user_specific/#{user_profile}"
+ puts "you can override all the environment variables specified in dotfiles/os_specific/<your_os>/environment"
+ puts "you can also override or preempt path set in dotfiles/os_specific/<your_os>/paths"
Dir.mkdir "user_specific/#{user_profile}"
File.open("user_specific/#{user_profile}/loader", "w") do |file|
- file.write("source ~/.user_specific/environment")
- file.write("source ~/.user_specific/paths")
- file.write("source ~/.user_specific/aliases")
+ file.write("source ~/.user_specific/environment \n")
+ file.write("source ~/.user_specific/paths \n")
+ file.write("source ~/.user_specific/aliases \n")
end
File.open("user_specific/#{user_profile}/environment", "w") do |file|
@@ -39,7 +42,8 @@
File.new("user_specific/#{user_profile}/paths", "w")
File.new("user_specific/#{user_profile}/aliases", "w")
- puts "What do you want your full name to be for git? "
+ puts "We will also setup a default ~/.gitconfig for you... you can change the settings from dotfiles/user_specific/#{user_profile}/gitconfig"
+ puts "What do you want your full name to be for git? "
git_full_name = gets.chomp
puts "What is the email you want to use for git? "
git_email = gets.chomp
View
3  the_files/gemrc
@@ -1,12 +1,13 @@
---
:verbose: true
-gem: --no-ri --run-tests
+gem: --no-ri --no-rdoc --run-tests
:backtrace: false
:benchmark: false
:sources:
- http://gems.rubyforge.org/
- http://gems.github.com
- http://gemcutter.org
+- http://rubygems.org
:update_sources: true
rdoc: --inline-source --line-numbers
:bulk_threshold: 1000
View
0  the_files/irbrc 100755 → 100644
File mode changed
View
2  the_files/screenrc
@@ -7,5 +7,5 @@ shelltitle "$ |bash"
autodetach on
screen -t Shell 0 bash
-screen -t Emacs 1 emacs -nw
+# screen -t Emacs 1 emacs -nw
select 0
View
3  user_specific/Patrick/environment
@@ -1 +1,2 @@
-export EDITOR="subl -w"
+export EDITOR="subl -w"
+export CC="/usr/bin/gcc-4.2"
View
2  user_specific/Patrick_BGOV/aliases
@@ -1,2 +0,0 @@
-alias ss="script/server"
-alias sc="script/console"
View
1  user_specific/Patrick_BGOV/environment
@@ -1 +0,0 @@
-export EDITOR=vim
View
27 user_specific/Patrick_BGOV/gitconfig
@@ -1,27 +0,0 @@
-[user]
- name = Patrick Turley [pturley]
- email = patrick.turley@gmail.com
-[color]
- diff = auto
- status = auto
- branch = auto
- interactive = auto
- ui = auto
-[diff]
- renames = true
-[alias]
- changes=diff --name-status -r
- st=status
- co=checkout
- ci=commit -a
- undo=checkout -f
-[core]
- excludesfile = ~/.gitignore
-[mirror]
- summary = true
-[branch]
- autosetupmerge = true
-[help]
- autocorrect = 1
-[push]
- default = matching
View
3  user_specific/Patrick_BGOV/loader
@@ -1,3 +0,0 @@
-source ~/.user_specific/environment
-source ~/.user_specific/paths
-source ~/.user_specific/aliases
View
1  user_specific/Patrick_BGOV/paths
@@ -1 +0,0 @@
-PATH=/Users/drupp3/.rvm/gems/ruby-1.8.7-p302/bin:/Users/drupp3/.rvm/gems/ruby-1.8.7-p302@global/bin:/Users/drupp3/.rvm/rubies/ruby-1.8.7-p302/bin:/Users/drupp3/.rvm/bin:$PATH
View
2  user_specific/sudhindra/gitconfig
@@ -1,5 +1,5 @@
[user]
- name = Sudhindra Rao [betarelease]
+ name = Sudhindra Rao [betarelease]
email = sudhindra.r.rao@gmail.com
[color]
diff = auto
Please sign in to comment.
Something went wrong with that request. Please try again.