fix
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user