1
0
Fork 0

silence rm tmp in lfcd

This commit is contained in:
Luca Bilke 2022-08-09 10:57:29 +02:00
parent 876dcad206
commit b425ac79ca

View file

@ -68,7 +68,7 @@ lfcd () {
fi
if [ -f "$tmp" ]; then
dir="$(cat "$tmp")"
rm -f "$tmp"
command rm -f "$tmp"
if [ -d "$dir" ]; then
if [ "$dir" != "$(pwd)" ]; then
cd "$dir"