Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

many more to go

  • Loading branch information...
commit ed5851f48daa589f36db4b29c4969232a539a513 1 parent fab569f
sshaw authored
Showing with 19 additions and 1 deletion.
  1. +8 −0 bashrc
  2. +1 −0  gemrc
  3. +7 −1 irbrc
  4. +3 −0  sqliterc
View
8 bashrc
@@ -1,10 +1,18 @@
alias be='bundle exec'
alias bi='bundle install'
alias bl='bundle list'
+
+# Mojolicious
+alias mapp='./script/*'
+alias mr='mapp routes'
+alias mt='mapp test'
+alias md='mapp daemon'
+
alias build='make && { make test || make check; }'
alias pbuild='perl Makefile.PL && make && make test'
alias pinstall='pbuild && make install'
alias pb='perlbrew'
+alias lr='ls -lt | head'
alias fxml='xmllint --format'
shopt -s cdspell cdable_vars extglob no_empty_cmd_completion histappend
View
1  gemrc
@@ -0,0 +1 @@
+gem: --no-ri
View
8 irbrc
@@ -1,14 +1,20 @@
require "irb/completion"
require "rubygems"
+
#IRB.conf[:USE_READLINE] = true
+
IRB.conf[:SAVE_HISTORY] = 10_000
IRB.conf[:PROMPT][:CUSTOM] = {
- :PROMPT_I => "irb (#{RUBY_VERSION})> ",
+ :PROMPT_I => "#{"j" if RUBY_PLATFORM=="java"}irb (#{RUBY_VERSION})> ",
:PROMPT_C => "%i* ",
:PROMPT_N => "%i{ ",
:PROMPT_S => "%i%l ",
:RETURN => "=> %s\n"
}
+if defined? Rails
+ IRB.conf[:PROMPT][:CUSTOM][:PROMPT_I] = "rails (#{Rails.version})> "
+end
+
IRB.conf[:PROMPT_MODE] = :CUSTOM
View
3  sqliterc
@@ -0,0 +1,3 @@
+.header on
+.mode column
+.null NULL
Please sign in to comment.
Something went wrong with that request. Please try again.