From 6c530f44042eda17d01146401d16d4777504555d Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sat, 8 Nov 2014 23:26:57 +0100 Subject: [PATCH] De-alias the rm command in selector-cd-search. --- bash-selector.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-selector.sh b/bash-selector.sh index 9cae9a2..6706c04 100755 --- a/bash-selector.sh +++ b/bash-selector.sh @@ -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}" -- 2.39.5