De-alias the rm command in selector-cd-search.
authorFrancois Fleuret <francois@fleuret.org>
Sat, 8 Nov 2014 22:26:57 +0000 (23:26 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Sat, 8 Nov 2014 22:26:57 +0000 (23:26 +0100)
bash-selector.sh

index 9cae9a2..6706c04 100755 (executable)
@@ -73,7 +73,7 @@ function selector-cd () {
         TMP=$(mktemp /tmp/selector-cd.XXXXXX)
         tail -$((SELECTOR_CD_HISTORY_SIZE-1)) < "${SELECTOR_CD_HISTORY}" > "${TMP}"
         cat "${TMP}" > "${SELECTOR_CD_HISTORY}"
-        rm -f "${TMP}"
+        \rm -f "${TMP}"
     fi
 
     echo "${PWD}" | sed -e "s!^${HOME}!~!" >> "${SELECTOR_CD_HISTORY}"