+Support: ~/.taillog.addon
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index ad1a856..60dadf6 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -123,6 +123,7 @@ alias vi='vim'
 alias grepb='grep --binary-files=binary'
 alias L='lynx'
 alias chown='chown --no-dereference'
+alias chgrp='chgrp --no-dereference'
 alias hexedit='hexedit -s'
 alias cvs2cl='cvs2cl --window 3600 --separate-header --no-wrap'
 alias cvsfiles='cvsutil --files --print'
@@ -133,6 +134,8 @@ alias cvsignoresrmall='cvsutil --ignores --workings --rm'
 alias cvsignoresallrm='cvsutil --ignores --workings --rm'
 [ "`uname`" = "SunOS" -a -x $HOME/bin/rpm-by-pkg ] && alias rpm='rpm-by-pkg'
 alias rpmdb='rpm --define "_dbpath `echo /usr/lib/rpmdb/*/*`"'
+alias disass='objdump -D --target=binary --architecture=i386'
+alias cal='cal -m'
 
 # '2>/dev/null' to prevent: unalias: x: not found
 unalias 2>/dev/null cp # -i
@@ -174,6 +177,7 @@ if grep 2>/dev/null -q '^..............:0C38 00000000:0000 0A ' /proc/net/tcp;th
        export https_proxy=http://127.0.0.1:3128/
        export   ftp_proxy=http://127.0.0.1:3128/
 fi
+export VIMINIT="source `echo "$BASH_SOURCE"|sed 's/[.]bashrc$/.vimrc/'`"
 
 export SOCKS5_SERVER=icsocks.holland.sun.com
 
@@ -228,6 +232,8 @@ function exx { cd "`unset exx;exx "$@"|tee /proc/self/fd/2|tail -n1|sed -n 's/^e
 function revlines { perl -e 'print reverse <>;'; }; export -f revlines
 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.$$; );}; export -f eog
 
 ulimit -S -c 0
 set +H