diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-16 05:14:28 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-16 05:14:28 -0600 |
| commit | 9567262008aca05298c084812129401e939a0f4a (patch) | |
| tree | 8f307100a7079fa95839ad0615186030803625aa /snippets/sh-mode/printf_with_date_time_tee | |
| parent | 792fecda226c3db1847db54485e5a9c467d66eac (diff) | |
| download | dotemacs-9567262008aca05298c084812129401e939a0f4a.tar.gz dotemacs-9567262008aca05298c084812129401e939a0f4a.zip | |
chore(yasnippet): move snippets into emacs.d for source control
Relocate snippets-dir from ~/sync/org/snippets/ to ~/.emacs.d/snippets/
and restore 28 snippet files from backup.
Diffstat (limited to 'snippets/sh-mode/printf_with_date_time_tee')
| -rw-r--r-- | snippets/sh-mode/printf_with_date_time_tee | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/snippets/sh-mode/printf_with_date_time_tee b/snippets/sh-mode/printf_with_date_time_tee new file mode 100644 index 00000000..63209aa4 --- /dev/null +++ b/snippets/sh-mode/printf_with_date_time_tee @@ -0,0 +1,5 @@ +# key: <pdtt +# name: printf_with_date_time_tee +# -- +printf "$1 @ %s\n" "$(date +'%T')" | tee -a $2 +$0
\ No newline at end of file |
