From 18d468b1bf4ef55a20335a0178308d64c7ff50ea Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 25 Feb 2023 14:16:40 +0300 Subject: [PATCH] | zsh --- hlna-git/postinstall.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hlna-git/postinstall.sh b/hlna-git/postinstall.sh index 5e4f802..3cc8d30 100755 --- a/hlna-git/postinstall.sh +++ b/hlna-git/postinstall.sh @@ -1,8 +1,7 @@ #!/usr/bin/env bash if test -e ~/.zshrc; then -zsh -sed -i -e '$aalias hlna="hlna.py"' ~/.zshrc -sed -i -e '$aalias hlna-bot="hlna-bot.py"' ~/.zshrc +sed -i -e '$aalias hlna="hlna.py"' ~/.zshrc | zsh +sed -i -e '$aalias hlna-bot="hlna-bot.py"' ~/.zshrc | zshz source ~/.zshrc elif test -e ~/.config/fish/config.fish; then sed -i -e '$alias hlna="hlna.py"' ~/.config/fish/config.fish