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
Support svn(1) diffing "-p" by default.
[nethome.git]
/
.bashrc
diff --git
a/.bashrc
b/.bashrc
index
5c9fc83
..
76f0d10
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-145,6
+145,7
@@
alias cal='cal -m'
alias vncreadonly='vncviewer -FullColor -Shared -ViewOnly'
alias diff='diff -u'
alias rpmqf='rpm --qf "%{name}-%{version}-%{release}.%{arch}\n"'
alias vncreadonly='vncviewer -FullColor -Shared -ViewOnly'
alias diff='diff -u'
alias rpmqf='rpm --qf "%{name}-%{version}-%{release}.%{arch}\n"'
+alias rpmbuildlocal='rpmbuild --define "_topdir $PWD" --define "_builddir $PWD" --define "_rpmdir $PWD" --define "_sourcedir $PWD" --define "_specdir $PWD" --define "_srcrpmdir $PWD"'
alias gdbn='gdb -nx --command=~/.gdbinit'
# '2>/dev/null' to prevent: unalias: x: not found
alias gdbn='gdb -nx --command=~/.gdbinit'
# '2>/dev/null' to prevent: unalias: x: not found
@@
-233,12
+234,14
@@
function mi { (
); };export -f mi
function ctags {(unset ctags;
if [ $# -ne 0 -a '(' $# -ne 1 -o "$1" '!=' "--c-types=+px" ')' ];then ctags "$@";else
); };export -f mi
function ctags {(unset ctags;
if [ $# -ne 0 -a '(' $# -ne 1 -o "$1" '!=' "--c-types=+px" ')' ];then ctags "$@";else
- find -type f -a '!' -name tags -a '!' -name TAGS -a '(' -false \
+ find -name testsuite -prune -o \
+ -type f -a '!' -name tags -a '!' -name TAGS -a '(' -false \
-o -name "*.[chC]" \
-o -name "*.cc" \
-o -name "*.cxx" \
-o -name "*.java" \
-o -name "*.p[lm]" \
-o -name "*.[chC]" \
-o -name "*.cc" \
-o -name "*.cxx" \
-o -name "*.java" \
-o -name "*.p[lm]" \
+ -o -name "*.py" \
')' \
|ctags --file-tags -L - "$@"
fi; );}; export -f ctags
')' \
|ctags --file-tags -L - "$@"
fi; );}; export -f ctags
@@
-254,7
+257,7
@@
function diffc { diff -u "$@"|grep -v '^\(Only in \|Binary files\)'; }; export -
function diffi { diffc -X ~/.diffi.list "$@"; }; export -f diffi
function cvs {(unset cvs;
local _opts _opts_d _now _line _o
function diffi { diffc -X ~/.diffi.list "$@"; }; export -f diffi
function cvs {(unset cvs;
local _opts _opts_d _now _line _o
- if grep -iw
sources.redhat.com
CVS/Root &>/dev/null;then _opts_d="";else _opts_d="-d";fi
+ if grep -iw
"sources.redhat.com:/cvs/src"
CVS/Root &>/dev/null;then _opts_d="";else _opts_d="-d";fi
_now=false
_line=""
_opts=""
_now=false
_line=""
_opts=""