summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/lf/lfrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index ef4527f..e7aecc6 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -17,3 +17,8 @@ cmd open ${{
*) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;;
esac
}}
+
+cmd on-cd &{{
+ printf "\033]0; $(pwd | sed "s|$HOME|~|") - lf\007" > /dev/tty
+}}
+on-cd