diff --git a/helium_helper.sh b/helium_helper.sh index 8ee7ab7..12bfacf 100755 --- a/helium_helper.sh +++ b/helium_helper.sh @@ -290,7 +290,17 @@ remove_helium() { rm -rf $INSTALL_PATH if [ -f "$LAUNCHER_PATH/$APP_NAME.desktop" ] ; then rm $LAUNCHER_PATH/$APP_NAME.desktop + fi + + if [ -f "$HOME/.zshrc" ] ; then + sed -i "s|$ALIAS|d|" $HOME/.zshrc + + elif [ -f "$HOME/.bashrc" ] ; then + sed -i "s|$ALIAS|d|" $HOME/.bashrc + + fi + echo -e "\n ${RED}$APP_NAME_LONG removed!${CRS}" exit