From 17d2815039839b1203531e1b0ff6d01342acfb77 Mon Sep 17 00:00:00 2001 From: Fr4nz D13trich Date: Sat, 27 Dec 2025 22:30:02 +0100 Subject: [PATCH] Fixed faulty sed command in removal function --- helium_helper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helium_helper.sh b/helium_helper.sh index c7c90f1..f809ae6 100755 --- a/helium_helper.sh +++ b/helium_helper.sh @@ -308,10 +308,10 @@ remove_helium() { fi if [ -f "$HOME/.zshrc" ] ; then - sed -i "s|$ALIAS|d|" $HOME/.zshrc + sed -i "/$ALIAS/d" $HOME/.zshrc elif [ -f "$HOME/.bashrc" ] ; then - sed -i "s|$ALIAS|d|" $HOME/.bashrc + sed -i "/$ALIAS/d" $HOME/.bashrc fi