f
This commit is contained in:
parent
49aaa0e1b9
commit
7ce75c20b4
@ -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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user