Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rsync alias, comment to remind why irb not working

  • Loading branch information...
commit dd353d1d06bc3e74ac872a32d632d3b8b79c0c07 1 parent 676f480
Matt Robinson authored Matthew M. Robinson committed
5 .bash_aliases
View
@@ -83,4 +83,7 @@ alias adgp='cd ~/work/admon_git/perl_lib/RTK/AdMonitor'
alias adpc='cd ~/work/admon_clean/perl_lib/RTK/AdMonitor'
# dir sizes summarized and sorted
-alias dus='du -s * | sort -n'
+alias dus='du -sm * .[a-zA-Z0-9]*/ | sort -n'
+
+# -a archive preserves permissions, times etc -vv double verbose -P partial files okay and progress indicator --remove-soure-files removes files but not empty directories
+alias mvrsync='rsync -avvP --remove-source-files'
2  .bashrc
View
@@ -101,5 +101,3 @@ function bgh ()
{
history | grep "$1" | perl -pwe 's/^.{6}//;' | sort -u | tail -50
}
-# Use my local perl library
-eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)
2  .irbrc
View
@@ -3,8 +3,10 @@ require 'activesupport'
require 'what_methods'
require 'pp'
require 'irb/completion'
+#http://icametogetdown.com/post/248931168/irb-console-not-saving-in-ruby-1-8-7
require 'irb/ext/save-history'
ARGV.concat [ "--readline", "--prompt-mode", "simple" ]
IRB.conf[:AUTO_INDENT]=true
IRB.conf[:SAVE_HISTORY] = 10000
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history"
+IRB.conf[:EVAL_HISTORY] = 200
BIN  .irbrc.swp
View
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.