Alias remover added
This commit is contained in:
parent
5e26f8e43b
commit
4a6741f581
1 changed files with 10 additions and 0 deletions
|
|
@ -290,7 +290,17 @@ remove_helium() {
|
||||||
rm -rf $INSTALL_PATH
|
rm -rf $INSTALL_PATH
|
||||||
if [ -f "$LAUNCHER_PATH/$APP_NAME.desktop" ] ; then
|
if [ -f "$LAUNCHER_PATH/$APP_NAME.desktop" ] ; then
|
||||||
rm $LAUNCHER_PATH/$APP_NAME.desktop
|
rm $LAUNCHER_PATH/$APP_NAME.desktop
|
||||||
|
|
||||||
fi
|
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}"
|
echo -e "\n ${RED}$APP_NAME_LONG removed!${CRS}"
|
||||||
exit
|
exit
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue