Skip to content

Commit

Permalink
latest
Browse files Browse the repository at this point in the history
  • Loading branch information
conneroisu committed Jun 28, 2024
1 parent 7713dca commit 1978241
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,10 @@ vim.api.nvim_create_user_command("SeltablDbClear", function()
os.execute("rm " .. log_path)
end, {})


vim.api.nvim_create_user_command("SeltablClearAll", function()
local log_path = vim.fn.expand("~/.config/seltabls/state.log")
os.execute("rm " .. log_path)
local log_path = vim.fn.expand("~/.config/seltabls/uri.sqlite")
os.execute("rm " .. log_path)
end, {})
8 changes: 4 additions & 4 deletions lua/plugins/dbee-plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ return {
config = function()
local dbee_sources = require("dbee.sources")
require("dbee").setup({
sources = {
dbee_sources.EnvSource:new("DBEE_CONNECTIONS"),
dbee_sources.FileSource:new(vim.fn.stdpath("state") .. "/dbee/persistence.json"),
},
-- sources = {
-- dbee_sources.EnvSource:new("DBEE_CONNECTIONS"),
-- dbee_sources.FileSource:new(vim.fn.stdpath("state") .. "/dbee/persistence.json"),
-- },
extra_helpers = {
["postgres"] = {
["List All"] = "select * from {{ .Table }}",
Expand Down
2 changes: 1 addition & 1 deletion lua/plugins/obsidian-plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ return {
workspaces = {
{
name = "personal",
path = "~/run/media/conner/source/000Vaults/SecondBrain",
path = "~/Documents/000Vaults/SecondBrainRemote",
}
},

Expand Down

0 comments on commit 1978241

Please sign in to comment.