From b425ac79caabc59b2962388cb2b75a8ef0112497 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Tue, 9 Aug 2022 10:57:29 +0200 Subject: [PATCH] silence rm tmp in lfcd --- .config/zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index ea7ab35a..7748a0e9 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -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"