uninstall alias

This commit is contained in:
neil 2016-01-31 17:38:44 +08:00
parent 525997ee04
commit 4ac8d68d06

2
le.sh
View File

@ -1127,7 +1127,7 @@ uninstall() {
_profile="$(_detect_profile)" _profile="$(_detect_profile)"
if [ "$_profile" ] ; then if [ "$_profile" ] ; then
sed -i "/source \"$LE_WORKING_DIR/le.env\"/d" "$_profile" sed -i /le.env/d "$_profile"
fi fi
rm -f $LE_WORKING_DIR/le.sh rm -f $LE_WORKING_DIR/le.sh