# .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions alias i='intltool-update' alias m='msgfmt -cvv --check-accelerators=_' alias e='emacs -nw' alias d='sed -n "/^\(#~ \)\{0,1\}msgstr/,/^\(#~ \)\{0,1\}msgid/p" bg.po | grep -v "^#[^~]" | grep -v "^$"| grep -v "^\(#~ \)\?msgid" | sed "s/_//" > 1 ' alias a='cat 1 | hunspell -d bg_BG -l | grep -vi "[a-z][a-z]*" | sort -u > a' alias pushgtp='for file in *.bg.po; do name=`echo $file | sed "s/^\([^.]*\)[.]\([^.]*\)[.].*$/\1/g"`; branch=`echo $file | sed "s/^\([^.]*\)[.]\([^.]*\)[.].*$/\2/g"`; svn ci $file -m "$name: committed in $branch"; done'