silence rm tmp in lfcd
This commit is contained in:
parent
876dcad206
commit
b425ac79ca
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue