From a07fb8fb5ae1c0f2f46f4cf9104b808f3ee61ca1 Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Wed, 14 Aug 2024 13:12:56 +0330 Subject: [PATCH] Update alias for Debian --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index cbea79b..1e84468 100644 --- a/install.sh +++ b/install.sh @@ -22,8 +22,8 @@ source /etc/hysteria/hysteria2_venv/bin/activate pip install -r requirements.txt # Add alias 'hys2' for Hysteria2 -if ! grep -q "alias hys2='/etc/hysteria/menu.sh'" ~/.bashrc; then - echo "alias hys2='/etc/hysteria/menu.sh'" >> ~/.bashrc +if ! grep -q "alias hys2='source /etc/hysteria/hysteria2_venv/bin/activate && /etc/hysteria/menu.sh'" ~/.bashrc; then + echo "alias hys2='source /etc/hysteria/hysteria2_venv/bin/activate && /etc/hysteria/menu.sh'" >> ~/.bashrc source ~/.bashrc fi