echo "я запустился" if test -f $HOME/.zshrc; then echo "zshrc" echo 'alias hlna="hlna.py"'>>$HOME/.zshrc echo 'alias hlna-bot="hlna-bot.py"'>>$HOME/.zshrc elif test -f $HOME/.config/fish/config.fish; then echo "fish" echo 'alias hlna="hlna.py"'>>$HOME/.config/fish/config.fish echo 'alias hlna-bot="hlna-bot.py"'>>$HOME/.config/fish/config.fish else echo "bash" whoami echo 'alias hlna="hlna.py"'>>$HOME/.bashrc echo 'alias hlna-bot="hlna-bot.py"'>>$HOME/.bashrc source $HOME/.bashrc fi