source: scripts/bashrc @ 3111

Last change on this file since 3111 was 3111, checked in by Александър Шопов, 5 years ago

use hunspell instead of aspell

File size: 657 bytes
Line 
1# .bashrc
2
3# Source global definitions
4if [ -f /etc/bashrc ]; then
5        . /etc/bashrc
6fi
7
8# User specific aliases and functions
9alias i='intltool-update'
10alias m='msgfmt -cvv --check-accelerators=_'
11alias e='emacs -nw'
12alias d='sed -n "/^\(#~ \)\?msgstr/,/^\(#~ \)\?msgid/p" bg.po | grep -v "^#[^~]" | grep -v "^$"| grep -v "^\(#~ \)\?msgid" | sed "s/_//"  > 1 '
13alias a='cat 1 | hunspell -d bg_BG -l | grep -vi "[a-z][a-z]*" | sort -u > a'
14alias 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'
Note: See TracBrowser for help on using the repository browser.