summaryrefslogtreecommitdiff
path: root/.local/bin/c
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-03-26 11:33:02 +0530
committersinanmohd <sinan@firemail.cc>2023-03-26 11:33:02 +0530
commite9b4421cfb4c642f6a542d14ab434aa61de49567 (patch)
tree599e273c136e714685d806826801c9b73d1e2396 /.local/bin/c
parent1574bc414fe4855b7647d6c557976c604b57d979 (diff)
c: initial commit: basic skelton for c programming
Diffstat (limited to '.local/bin/c')
-rwxr-xr-x.local/bin/c11
1 files changed, 11 insertions, 0 deletions
diff --git a/.local/bin/c b/.local/bin/c
new file mode 100755
index 0000000..86b76f0
--- /dev/null
+++ b/.local/bin/c
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+cat << EOF | "${EDITOR:-vim}"
+#include <stdio.h>
+
+int main(void)
+{
+
+ return 0;
+}
+EOF