From 7ce75c20b41ecf6977d7a657f43c81a19ec110e5 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 25 Feb 2023 15:36:47 +0300 Subject: [PATCH] f --- hlna-git/postinstall.sh | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/hlna-git/postinstall.sh b/hlna-git/postinstall.sh index 93c6c0b..225d1a0 100755 --- a/hlna-git/postinstall.sh +++ b/hlna-git/postinstall.sh @@ -1,14 +1,12 @@ #!/usr/bin/env bash if test -f ~/.zshrc; then - -echo 'alias hlna="hlna.py"' >> ~/.zshrc -echo 'alias hlna-bot="hlna-bot.py"' >> ~/.zshrc +echo 'alias hlna="hlna.py"'>>~/.zshrc +echo 'alias hlna-bot="hlna-bot.py"'>>~/.zshrc elif test -f ~/.config/fish/config.fish; then -echo 'alias hlna="hlna.py"' ~/.config/fish/config.fish -echo 'alias hlna-bot="hlna-bot.py"' ~/.config/fish/config.fish +echo 'alias hlna="hlna.py"'>>~/.config/fish/config.fish +echo 'alias hlna-bot="hlna-bot.py"'>>~/.config/fish/config.fish else -cd ~/ -echo 'alias hlna="hlna.py"' .bashrc -echo 'alias hlna-bot="hlna-bot.py"' .bashrc +echo 'alias hlna="hlna.py"'>>.bashrc +echo 'alias hlna-bot="hlna-bot.py"'>>.bashrc source ~/.bashrc fi