summaryrefslogtreecommitdiffstats
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-08 21:36:01 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-08 21:36:01 -0400
commit3e8f5c1647e15586b7ec09f9c415b3a50f49e6ac (patch)
tree9d994f62d2e75271f3187c3e5510cdfe4129e399 /.config/zsh/.zshrc
parenta08904d88a5dc413258c590ad794871cb3fc88e8 (diff)
downloadeibhear-3e8f5c1647e15586b7ec09f9c415b3a50f49e6ac.tar.gz
eibhear-3e8f5c1647e15586b7ec09f9c415b3a50f49e6ac.tar.zst
eibhear-3e8f5c1647e15586b7ec09f9c415b3a50f49e6ac.zip
suppress lfcd tmp mesg
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r--.config/zsh/.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 97f47eb..9cd9000 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -61,7 +61,7 @@ lfcd () {
lf -last-dir-path="$tmp" "$@"
if [ -f "$tmp" ]; then
dir="$(cat "$tmp")"
- rm -f "$tmp"
+ rm -f "$tmp" >/dev/null
[ -d "$dir" ] && [ "$dir" != "$(pwd)" ] && cd "$dir"
fi
}