summaryrefslogtreecommitdiff
path: root/snippets/sh-mode/if_last_command_failed
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-16 05:14:28 -0600
committerCraig Jennings <c@cjennings.net>2026-02-16 05:14:28 -0600
commit9ed05f388d3cbd16a72f9ace130d1f59233354e7 (patch)
tree81853ec9826707f3217388913f0c3123d22ea0cb /snippets/sh-mode/if_last_command_failed
parent61dfcb7aef61c976c4446f1e089e1e3f578edf48 (diff)
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/if_last_command_failed')
-rw-r--r--snippets/sh-mode/if_last_command_failed6
1 files changed, 6 insertions, 0 deletions
diff --git a/snippets/sh-mode/if_last_command_failed b/snippets/sh-mode/if_last_command_failed
new file mode 100644
index 00000000..33596dd0
--- /dev/null
+++ b/snippets/sh-mode/if_last_command_failed
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: if_last_command_failed
+# key: <ilcf
+# --
+
+if [ $? -eq 0 ]; then \ No newline at end of file