From: Francois Fleuret Date: Tue, 13 Apr 2010 16:27:34 +0000 (+0200) Subject: Changed the -c option of selector. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=3f19799fa2d26a502cabe2b689bf5e9d2f80faf5;p=scripts.git Changed the -c option of selector. --- 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