From: Francois Fleuret Date: Sat, 8 Nov 2014 22:26:57 +0000 (+0100) Subject: De-alias the rm command in selector-cd-search. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=6c530f44042eda17d01146401d16d4777504555d;p=selector.git De-alias the rm command in selector-cd-search. --- 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}"