From 36be5da4825b35f5398a758d09bc45770893a6d7 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 25 Feb 2023 13:54:13 +0300 Subject: [PATCH] f --- hlna-git/postinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hlna-git/postinstall.sh b/hlna-git/postinstall.sh index dfffeb2..baf4265 100644 --- a/hlna-git/postinstall.sh +++ b/hlna-git/postinstall.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash -if -e $HOME/.zshrc; then +if -f $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 -f $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