{diff,diffc}+=-d
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index a2c27a5..f876225 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -150,7 +150,7 @@ eval '
        function disass { objdump -D --target=binary --architecture=i386 "$@"; }
        function cal {(unset cal; ( cal -m "$@"; ); );}
        function vncreadonly { vncviewer -FullColor -Shared -ViewOnly "$@"; }
-       function diff {(unset diff; ( diff -up "$@"; ); );}
+       function diff {(unset diff; ( diff -dup "$@"; ); );}
        function rpmbuildlocal { nice rpmbuild --define "_topdir $PWD" --define "_builddir $PWD" --define "_rpmdir $PWD" --define "_sourcedir $PWD" --define "_specdir $PWD" --define "_srcrpmdir $PWD" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" "$@"; rmdir &>/dev/null BUILDROOT; }
        function gdbn { gdb -nx --command=~/.gdbinit "$@"; }
        function hd { od -Ax -tx1; }
@@ -261,6 +261,7 @@ function ctags {(unset ctags
                                                -o -name "*.cc"    \
                                                -o -name "*.cxx"   \
                                                -o -name "*.cpp"   \
+                                               -o -name "*.[Ss]"  \
                                                -o -name "*.java"  \
                                                -o -name "*.p[lm]" \
                                                -o -name "*.py" \
@@ -276,7 +277,7 @@ function debuginfo { if test -n "$*";then echo "$*";else cat;fi \
        |xargs rpm -qf|xargs rpmquery --qf '%{SOURCERPM}\n'|sed 's/-[^-]*-[^-]*[.]src[.]rpm$/-debuginfo/'|sort -u; }
 function ipcsrmall { ipcs|awk '/- Shared Memory/{x="-m"}/- Semaphore/{x="-s"}/^0x/{print "ipcrm "x" "$2}'; }
 function eog {(unset eog; touch /tmp/eog.$$;eog "$@" {,,,,,,,,,}/tmp/eog.$$;rm -f /tmp/eog.$$; );}
-function diffc { diff -up "$@"|grep -v '^\(Only in \|Binary files\)'; }
+function diffc { diff -dup "$@"|grep -v '^\(Only in \|Binary files\)'; }
 function diffi { diffc -X ~/.diffi.list "$@" | diffdecvs; }
 function cvs {(unset cvs
        local _opts _opts_d _now _line _o