zshrc & bashrc: Simplify supybot-generate-messages.pot-xgettext.

xgettext --language=Python config.py plugin.py && cat messages.po > messages.pot && rm messages.po
vs
xgettext --language=Python config.py plugin.py && mv -f messages.po messages.pot
This commit is contained in:
nyuszika7h 2011-12-23 10:41:15 +02:00 committed by Mika Suomalainen
parent df96885b0e
commit 82df6ba735
2 changed files with 2 additions and 2 deletions

2
bashrc
View File

@ -249,7 +249,7 @@ alias supybot-config-reload="killall -HUP supybot "
alias supybot-owner-quit="killall -INT supybot "
# Translating plugins in Limnoria
alias supybot-generate-messages.pot="pygettext docstrings config.py plugin.py"
alias supybot-generate-messages.pot-xgettext="xgettext --language=Python config.py plugin.py && cat messages.po > messages.pot && rm messages.po"
alias supybot-generate-messages.pot-xgettext="xgettext --language=Python config.py plugin.py && mv -f messages.po messages.pot"
# bash specific.
# I think that "theme" is more describing than "prompt".

2
zshrc
View File

@ -193,7 +193,7 @@ alias supybot-config-reload="killall -HUP supybot "
alias supybot-owner-quit="killall -INT supybot "
# Translating plugins in Limnoria
alias supybot-generate-messages.pot="pygettext docstrings config.py plugin.py"
alias supybot-generate-messages.pot-xgettext="xgettext --language=Python config.py plugin.py && cat messages.po > messages.pot && rm messages.po"
alias supybot-generate-messages.pot-xgettext="xgettext --language=Python config.py plugin.py && mv -f messages.po messages.pot"
# ZSH specific.
# I think that "theme" is more describing than "prompt".