From 3f19799fa2d26a502cabe2b689bf5e9d2f80faf5 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Tue, 13 Apr 2010 18:27:34 +0200 Subject: [PATCH] Changed the -c option of selector. --- bashrc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 354ce54..2539fdb 100644 --- a/bashrc +++ b/bashrc @@ -134,6 +134,13 @@ function fn () { find $* -name "*${name}*"; } +# Create a dir and cd there + +function mcd () { + mkdir -p $1 + cd $1 +} + alias trash=trash.sh ###################################################################### @@ -680,7 +687,8 @@ alias dus='dus -f' # # git clone http://fleuret.org/git/finddup/ -alias finddup='finddup -p0d' +# alias finddup='finddup -p0d' +alias finddup='finddup -p' ###################################################################### # This script grep messages in my mail archives @@ -695,7 +703,7 @@ alias gma='gma.sh' # git clone http://fleuret.org/git/selector/ function selector-history () { - selector -c 7 4 0 3 -q -b -i -d -v -w -l 15000 <(history) + selector -c 7,4,0,3 -q -b -i -d -v -w -l 15000 <(history) } # M-r puts the selected history line in place of the current one -- 2.39.5