From f6a7148bb23894470ea5ee0e4a1fde00a9a68c5d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 12 Feb 2026 22:16:50 +0200 Subject: Update --- fish/conf.d/supersync.fish | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'fish') diff --git a/fish/conf.d/supersync.fish b/fish/conf.d/supersync.fish index 320afcd..70a3cc3 100644 --- a/fish/conf.d/supersync.fish +++ b/fish/conf.d/supersync.fish @@ -88,6 +88,22 @@ function supersync::gitsyncer end end +function supersync::prompts + if not test (uname) = Linux + return + end + if not test -d ~/git/dotfiles/prompts + return + end + + # Since files might have been added and/or modified withoug being + # committed to git yet. + cd ~/git/dotfiles/prompts + find . -type f -name \*.md | xargs git add + find . -type f -name \*.md | xargs git commit -m 'update prompt' + cd - +end + function supersync if test -f ~/.supersync_disable echo Supersync is disabled @@ -98,6 +114,7 @@ function supersync supersync::taskwarrior supersync::worktime no_sync_quotes supersync::uprecords + supersync::prompts if test -f ~/.gos_enable gos -- cgit v1.2.3