aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ubuntu/setup.vsh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ubuntu/setup.vsh b/ubuntu/setup.vsh
new file mode 100644
index 0000000..90d8868
--- /dev/null
+++ b/ubuntu/setup.vsh
@@ -0,0 +1,7 @@
+#!/usr/bin/env -S v
+
+// print command then execute it
+fn sh(cmd string) {
+ println('❯ ${cmd}')
+ print(execute_or_exit(cmd).output)
+} \ No newline at end of file