Permalink
Browse files

rsync alias, comment to remind why irb not working

  • Loading branch information...
1 parent 676f480 commit dd353d1d06bc3e74ac872a32d632d3b8b79c0c07 @mmrobins committed with Matthew M. Robinson Feb 13, 2010
Showing with 6 additions and 3 deletions.
  1. +4 −1 .bash_aliases
  2. +0 −2 .bashrc
  3. +2 −0 .irbrc
  4. BIN .irbrc.swp
View
5 .bash_aliases
@@ -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'
View
2 .bashrc
@@ -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)
View
2 .irbrc
@@ -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
View
BIN .irbrc.swp
Binary file not shown.

0 comments on commit dd353d1

Please sign in to comment.