From 51a3a9bf1f3437432002681c84eb4810dd3b5a6c Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 20 Jun 2026 21:12:49 -0600 Subject: [PATCH] dotfiles v1.0.9 --- .config/fish/config.fish | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 03c3ef8..c2e7bf6 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -38,7 +38,7 @@ # DOTFILES_DIR holds the template files; DOTFILES_BACKUP_DIR holds backups # and the last-update-check timestamp. -set -g DOTFILES_VERSION "1.0.8" +set -g DOTFILES_VERSION "1.0.9" # --- Remote repository (set this to enable auto-updates) -------------------- # Example: @@ -141,3 +141,8 @@ if status is-interactive # in ~/.config/fish/functions/fish_prompt.fish. end # status is-interactive + +function last_history_item + echo $history[1] +end +abbr -a !! --position anywhere --function last_history_item