dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit a544d3f3845754c73d2c0f76afb439b0c671ccf1
parent 9632202928e8db8365dbcf91ddb94cc443248d90
Author: hhvn <dev@hhvn.uk>
Date:   Sun,  9 Jan 2022 17:40:27 +0000

.rcrc: beforecmd

Diffstat:
M.rcrc | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/.rcrc b/.rcrc @@ -128,6 +128,11 @@ fn prompt { printf '\033]0;rc (%s)\007' `{pwd | sed 's~' ^ $home ^ '~\~~'} } +fn beforecmd { + # set X11 title + printf '\033]0;rc (%s): %s\007' `{pwd | sed 's~' ^ $home ^ '~\~~'} $1 +} + # Aliases fn g { git $* } fn vsplit { vim -O $* }