f
This commit is contained in:
		| @@ -1,14 +1,12 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| if test -f ~/.zshrc; then | if test -f ~/.zshrc; then | ||||||
|  |  | ||||||
| echo 'alias hlna="hlna.py"'>>~/.zshrc | echo 'alias hlna="hlna.py"'>>~/.zshrc | ||||||
| echo 'alias hlna-bot="hlna-bot.py"'>>~/.zshrc | echo 'alias hlna-bot="hlna-bot.py"'>>~/.zshrc | ||||||
| elif test -f ~/.config/fish/config.fish; then | elif test -f ~/.config/fish/config.fish; then | ||||||
| echo 'alias hlna="hlna.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 | echo 'alias hlna-bot="hlna-bot.py"'>>~/.config/fish/config.fish | ||||||
| else | else | ||||||
| cd ~/ | echo 'alias hlna="hlna.py"'>>.bashrc | ||||||
| echo 'alias hlna="hlna.py"' .bashrc | echo 'alias hlna-bot="hlna-bot.py"'>>.bashrc | ||||||
| echo 'alias hlna-bot="hlna-bot.py"' .bashrc |  | ||||||
| source ~/.bashrc | source ~/.bashrc | ||||||
| fi | fi | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user