From f5f62492ec4ec9edb1080873113a8e1b9bff9aeb Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 29 May 2014 20:45:17 +0300 Subject: [PATCH] bashrc & zshrc: fix supybot aliases. --- bashrc | 10 ++++++++-- zshrc | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/bashrc b/bashrc index 87b2f07e..403a2651 100644 --- a/bashrc +++ b/bashrc @@ -313,13 +313,19 @@ alias wesnoth="wesnoth --debug" alias %=" " alias \#=" " # Supybot specifig. Why to write long command, if you can write short command? -alias supybot-config-reload="killall -HUP supybot " -alias supybot-owner-quit="killall -INT supybot " +alias supybot-config-reload="killall -HUP supybot;killall -HUP limnoria" +alias supybot-owner-quit="killall -INT supybot;killall -INT limnoria" # 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 && mv -f messages.po messages.pot" alias supybot-check-plugin-trans="sandbox/check_trans.py plugins/" alias supybot-generate-messages.pot-mass="find . -type d -exec sh -c '(cd {} && pygettext --docstrings config.py plugin.py)' ';'" +alias limnoria-config-reload="supybot-config-reload" +alias limnoria-owner-quit="supybot-owner-quit" +alias limnoria-generate-messages.pot="supybot-generate-messages.pot" +alias limnoria-generate-messages.pot="supybot-generate-messages.pot-xgettext" +alias limnoria-check-plugin-trans="supybot-check-plugin-trans" +alias limnoria-generate-messages.pot-mass="supybot-generate-messages.pot-mass" ## -- Start of aliases which are saved from Ubuntu default bashrc. -- diff --git a/zshrc b/zshrc index 2aaeb7cf..f75a0e72 100644 --- a/zshrc +++ b/zshrc @@ -259,12 +259,18 @@ alias %=" " alias \#=" " # Supybot specifig. Why to write long command, if you can write short command? -alias supybot-config-reload="killall -HUP supybot " -alias supybot-owner-quit="killall -INT supybot " +alias supybot-config-reload="killall -HUP supybot;killall -HUP limnoria" +alias supybot-owner-quit="killall -INT supybot;killall -INT limnoria" # Translating plugins in Limnoria alias supybot-generate-messages.pot="pygettext --docstrings config.py plugin.py" alias supybot-check-plugin-trans="sandbox/check_trans.py plugins/" alias supybot-generate-messages.pot-mass="find . -type d -exec sh -c '(cd {} && pygettext --docstrings config.py plugin.py)' ';'" +alias limnoria-config-reload="supybot-config-reload" +alias limnoria-owner-quit="supybot-owner-quit" +alias limnoria-generate-messages.pot="supybot-generate-messages.pot" +alias limnoria-generate-messages.pot="supybot-generate-messages.pot-xgettext" +alias limnoria-check-plugin-trans="supybot-check-plugin-trans" +alias limnoria-generate-messages.pot-mass="supybot-generate-messages.pot-mass" # ZSH specific. # I think that "theme" is more describing than "prompt".