From 279e872723bd8437240007ace280f5d25061c7e8 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 25 Feb 2023 13:52:21 +0300 Subject: [PATCH] fix --- 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 e120882..dfffeb2 100644 --- a/hlna-git/postinstall.sh +++ b/hlna-git/postinstall.sh @@ -1,10 +1,9 @@ #!/usr/bin/env bash -if [-e $HOME/.zshrc]; then +if -e $HOME/.zshrc; then echo 'alias hlna="hlna.py"' >> $HOME/.zshrc echo 'alias hlna-bot="hlna-bot.py"' >> $HOME/.zshrc source ~/.zshrc -elif [-e $HOME/.config/fish/config.fish] -then +elif -e $HOME/.config/fish/config.fish; then echo 'alias hlna="hlna.py"' >> $HOME/.config/fish/config.fish echo 'alias hlna-bot="hlna-bot.py"' >> $HOME/.config/fish/config.fish source ~/.config/fish/config.fish