projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd647fd
)
De-alias the rm command in selector-cd-search.
author
Francois Fleuret
<francois@fleuret.org>
Sat, 8 Nov 2014 22:26:57 +0000
(23:26 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Sat, 8 Nov 2014 22:26:57 +0000
(23:26 +0100)
bash-selector.sh
patch
|
blob
|
history
diff --git
a/bash-selector.sh
b/bash-selector.sh
index
9cae9a2
..
6706c04
100755
(executable)
--- 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}"