Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
@@ -83,4 +83,7 @@ alias adgp='cd ~/work/admon_git/perl_lib/RTK/AdMonitor'
83 83 alias adpc='cd ~/work/admon_clean/perl_lib/RTK/AdMonitor'
84 84
85 85 # dir sizes summarized and sorted
86   -alias dus='du -s * | sort -n'
  86 +alias dus='du -sm * .[a-zA-Z0-9]*/ | sort -n'
  87 +
  88 +# -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
  89 +alias mvrsync='rsync -avvP --remove-source-files'
2  .bashrc
@@ -101,5 +101,3 @@ function bgh ()
101 101 {
102 102 history | grep "$1" | perl -pwe 's/^.{6}//;' | sort -u | tail -50
103 103 }
104   -# Use my local perl library
105   -eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)
2  .irbrc
@@ -3,8 +3,10 @@ require 'activesupport'
3 3 require 'what_methods'
4 4 require 'pp'
5 5 require 'irb/completion'
  6 +#http://icametogetdown.com/post/248931168/irb-console-not-saving-in-ruby-1-8-7
6 7 require 'irb/ext/save-history'
7 8 ARGV.concat [ "--readline", "--prompt-mode", "simple" ]
8 9 IRB.conf[:AUTO_INDENT]=true
9 10 IRB.conf[:SAVE_HISTORY] = 10000
10 11 IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history"
  12 +IRB.conf[:EVAL_HISTORY] = 200
BIN  .irbrc.swp
Binary file not shown

0 comments on commit dd353d1

Please sign in to comment.
Something went wrong with that request. Please try again.