X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=bashrc;h=2539fdbe479d03fddb7b91f32e25a3f3e9fb24a8;hb=5a0f6aadad25b4fc660b2d9d67aeb02a240e98db;hp=354ce5491ae7a24c236c4165156e039a54816c79;hpb=d74463ca9cb697206336416788eaf50ed655cc31;p=scripts.git 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