Fixed faulty sed command in removal function

This commit is contained in:
Fr4nz D13trich 2025-12-27 22:30:02 +01:00
parent 2d8c254621
commit 17d2815039

View file

@ -308,10 +308,10 @@ remove_helium() {
fi fi
if [ -f "$HOME/.zshrc" ] ; then if [ -f "$HOME/.zshrc" ] ; then
sed -i "s|$ALIAS|d|" $HOME/.zshrc sed -i "/$ALIAS/d" $HOME/.zshrc
elif [ -f "$HOME/.bashrc" ] ; then elif [ -f "$HOME/.bashrc" ] ; then
sed -i "s|$ALIAS|d|" $HOME/.bashrc sed -i "/$ALIAS/d" $HOME/.bashrc
fi fi