From 6e0d969d78f72d6efdd6a083690389b5c30da276 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sat, 21 Feb 2026 17:10:29 -0500 Subject: [PATCH 1/2] Add timestamp for entered commands. --- .blerc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.blerc b/.blerc index 01a27d6..d05b7d9 100644 --- a/.blerc +++ b/.blerc @@ -52,3 +52,20 @@ function blerc/define-sabbrev-commit { } blehook/eval-after-load complete blerc/define-sabbrev-commit +# Show the timestamp aligned to the right after each command is entered. +show_timestamp() { + # 17:10:00 EST-05 + local ts="$(date +'%H:%M:%S %Z%:::z')" + # Column to show timestamp.(COLUMNS - length_of_timestamp) + local col=$((COLUMNS - ${#ts})) + # Save current cursor position. + printf '\033[s' + # Move cursor to desired column. + printf "\033[${col}G" + # Print timestamp in gray. + printf '\e[90m%s\e[0m' "$ts" + # Restore previous cursor position. + printf '\033[u' +} + +blehook PREEXEC=show_timestamp -- 2.49.1 From b0a87fb0141e40251e1727934f7256b2f92e6d19 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sun, 22 Feb 2026 06:35:04 -0500 Subject: [PATCH 2/2] Update README. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ec9f66..5538bc5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Dotfiles -Dotfiles configurations for headless Kubuntu linux environments. Be sure to +Dotfiles configurations for Kubuntu linux environments. Be sure to clone recursively if you want to grab updated plugins / submodules included. For example, using Pathogen with Vim to manage plugins requires that the plugin to be installed are cloned to the `~/.vim/bundle/` directory. Cloning recursively -- 2.49.1