git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rsync: +--inplace
[nethome.git]
/
.bashrc
diff --git
a/.bashrc
b/.bashrc
index
858d2e7
..
70e6804
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-175,9
+175,9
@@
for file in $HOME/.bookmarks.html;do
done
export GREP_OPTIONS="--binary-files=without-match --directories=skip"
if echo x|GREP_OPTIONS="--exclude=y" grep -q x 2>/dev/null;then
done
export GREP_OPTIONS="--binary-files=without-match --directories=skip"
if echo x|GREP_OPTIONS="--exclude=y" grep -q x 2>/dev/null;then
- export GREP_OPTIONS="$GREP_OPTIONS --exclude=tags --exclude=TAGS --exclude=C
VS --exclude=C
hangeLog* --exclude=*.svn-base --exclude=*~"
+ export GREP_OPTIONS="$GREP_OPTIONS --exclude=tags --exclude=TAGS --exclude=ChangeLog* --exclude=*.svn-base --exclude=*~"
# FIXME: grep(1) ignores subdirectories for --exclude.
# FIXME: grep(1) ignores subdirectories for --exclude.
- #export GREP_OPTIONS="$GREP_OPTIONS --exclude=testsuite --exclude=.pc --exclude=.svn"
+ #export GREP_OPTIONS="$GREP_OPTIONS --exclude=testsuite --exclude=.pc --exclude=.svn
--exclude=CVS --exclude=po
"
fi
if [ -n "$PS1" ];then # set only in interactive sessions
if [ ! -f /MOCK ];then
fi
if [ -n "$PS1" ];then # set only in interactive sessions
if [ ! -f /MOCK ];then
@@
-226,6
+226,9
@@
export LC_COLLATE=C
# # due to LC_COLLATE=C and LC_ALL=(unset)
# export LC_ALL=C
# as it breaks Mutt "utf-8" and somehow it is no longer needed.
# # due to LC_COLLATE=C and LC_ALL=(unset)
# export LC_ALL=C
# as it breaks Mutt "utf-8" and somehow it is no longer needed.
+# Re: [Bug-readline] Readline 6.0 patch 004 trapped signal echoed to conso
+# http://lists.gnu.org/archive/html/bug-readline/2009-09/msg00006.html
+stty -echoctl
function wclines { awk '{x[$0]++}END{for (i in x) print x[i]"\t"i}'; }
# SunOS does not support "-m"
function wclines { awk '{x[$0]++}END{for (i in x) print x[i]"\t"i}'; }
# SunOS does not support "-m"
@@
-242,7
+245,7
@@
function finame { find . -false `
`; }
function mkcd { mkdir -p "$1"; cd "$1"; }
function pushdmk { mkdir -p "$1"; pushd "$1"; }
`; }
function mkcd { mkdir -p "$1"; cd "$1"; }
function pushdmk { mkdir -p "$1"; pushd "$1"; }
-function rsync {(unset rsync; nice -n20 rsync -v -e ssh --progress --stats --
partial
--rsync-path='nice -n20 rsync' "$@"; );}
+function rsync {(unset rsync; nice -n20 rsync -v -e ssh --progress --stats --
inplace
--rsync-path='nice -n20 rsync' "$@"; );}
function tohex { od -An -txC|tr -d '\n '|tr 'a-f' 'A-F';echo; }
function edall {
find -type f|while read -r i;do
function tohex { od -An -txC|tr -d '\n '|tr 'a-f' 'A-F';echo; }
function edall {
find -type f|while read -r i;do
@@
-254,7
+257,7
@@
function mi { (
); }
function ctags {(unset ctags
if [ $# -ne 0 -a '(' $# -ne 1 -o "$1" '!=' "--c-types=+px" ')' ];then ctags "$@";else
); }
function ctags {(unset ctags
if [ $# -ne 0 -a '(' $# -ne 1 -o "$1" '!=' "--c-types=+px" ')' ];then ctags "$@";else
- find -name testsuite -prune -o -name .pc -prune -o -name .svn -prune -o \
+ find -name testsuite -prune -o -name
gdbserver -prune -o -name
.pc -prune -o -name .svn -prune -o \
-type f -a '!' -name tags -a '!' -name TAGS -a '(' -false \
-o -name "*.[chCy]" \
-o -name "*.cc" \
-type f -a '!' -name tags -a '!' -name TAGS -a '(' -false \
-o -name "*.[chCy]" \
-o -name "*.cc" \