aboutsummaryrefslogtreecommitdiff
path: root/sqlitevi.fish
diff options
context:
space:
mode:
authorAnthony Wang2023-12-29 16:16:25 -0600
committerAnthony Wang2023-12-29 16:16:25 -0600
commit97722764e82b3748a6ec60574fd3d3752048c101 (patch)
tree61b6fe63c227693ee407d146f683d375e3df6414 /sqlitevi.fish
parent63f04f004110ecabfb5ec32408e77055a62a9122 (diff)
Add command for creating table in README, add fish helper scripts
Diffstat (limited to 'sqlitevi.fish')
-rw-r--r--sqlitevi.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/sqlitevi.fish b/sqlitevi.fish
new file mode 100644
index 0000000..964e4f6
--- /dev/null
+++ b/sqlitevi.fish
@@ -0,0 +1,4 @@
+function sqlitevi
+ mv "$argv" "$argv.bak"
+ sqlite3 "$argv.bak" .dump | $EDITOR | sqlite3 "$argv"
+end