Need to remove sources dir

This commit is contained in:
斟酌 鵬兄 2022-08-12 00:03:25 +08:00
parent f271e1fb55
commit 1facc5d698

View File

@ -243,7 +243,7 @@ function r2ensource {
echo "Enabling $_id"
done
sort $_tmp > "$RBASH_CONFIG"
rm $_tmp "$RBASH_MERGED"
rm -r "$_tmp" "$RBASH_SOURCES"
}
function r2dissource {
@ -270,7 +270,7 @@ function r2dissource {
_dis=$( mktemp )
sh -c "grep -v $_opts \"$RBASH_CONFIG\"" > $_dis
sort $_dis > $RBASH_CONFIG
rm $_dis "$RBASH_MERGED"
rm -r "$_dis" "$RBASH_SOURCES"
}
export PS1='This is <MACHINE_NAME>\e[1;3<COLOR_CODE>m<MACHINE_COLORED_NAME>\e[0m: \w\n\$ '