diff --git a/bash/bashrc/rbashrc b/bash/bashrc/rbashrc index 393808b..1b04be6 100644 --- a/bash/bashrc/rbashrc +++ b/bash/bashrc/rbashrc @@ -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 \e[1;3m\e[0m: \w\n\$ '