De-alias the rm command in selector-cd-search.
[selector.git] / bash-selector.sh
index ac094c8..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}"
@@ -101,8 +101,8 @@ alias cd=selector-cd
 # The key-bindings themselves
 ######################################################################
 
-    # M-t appends the selected history line and the end of the current
-    # one bind '"\C-[t":"\C-a\C-kselector-history\C-m\C-a\C-y\C-e"'
+# M-t appends the selected history line and the end of the current
+# one bind '"\C-[t":"\C-a\C-kselector-history\C-m\C-a\C-y\C-e"'
 
 if [[ "$1" ]]; then