This commit is contained in:
Евгений Храмов 2023-02-25 14:03:58 +03:00
parent afd291ff3e
commit e543de6c0b

@ -1,9 +1,9 @@
#!/usr/bin/env bash
if test -f $HOME/.zshrc; then
if test -e ~/.zshrc; then
sed -i -e '$aalias hlna="hlna.py"' ~/.zshrc
sed -i -e '$aalias hlna-bot="hlna-bot.py"' ~/.zshrc
source ~/.zshrc
elif test -f $HOME/.config/fish/config.fish; then
elif test -e ~/.config/fish/config.fish; then
sed -i -e '$alias hlna="hlna.py"' ~/.config/fish/config.fish
sed -i -e '$alias hlna-bot="hlna-bot.py"' ~/.config/fish/config.fish
source ~/.config/fish/config.fish