mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
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:
parent
df96885b0e
commit
82df6ba735
2
bashrc
2
bashrc
@ -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
2
zshrc
@ -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".
|
||||
|
Loading…
Reference in New Issue
Block a user