X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=2d51109c0b7e72a4ca2c7a67c07d6455dc14eaaa;hp=e962abae4deffb78be7411be8aec7fd86788fcc0;hb=f5ad6e69f4eed15d7f91262a43a45c469f4855f5;hpb=b57213b56153f21b94fd7d14352fcc21f7488715;ds=sidebyside diff --git a/.bashrc b/.bashrc index e962aba..2d51109 100644 --- a/.bashrc +++ b/.bashrc @@ -272,7 +272,6 @@ function ctags {(unset ctags function ctagsh { ctags "--c-types=+px"; } function cpan {(unset cpan; if [ $# = 0 ];then cpan;else perl -MCPAN -e "install qw($*);";fi; );} function exx { cd "`unset exx;exx "$@"|tee /proc/self/fd/2|tail -n1|sed -n 's/^extdir=//p'`"; } -function revlines { perl -e 'print reverse <>;'; } 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}'; }