diff --git a/config/.config/configstore/update-notifier-npm-check-updates.json b/config/.config/configstore/update-notifier-npm-check-updates.json new file mode 100644 index 0000000..3af21e5 --- /dev/null +++ b/config/.config/configstore/update-notifier-npm-check-updates.json @@ -0,0 +1,4 @@ +{ + "optOut": false, + "lastUpdateCheck": 1687906617028 +} \ No newline at end of file diff --git a/config/.config/gh/hosts.yml b/config/.config/gh/hosts.yml index df69937..9a6dd9e 100644 --- a/config/.config/gh/hosts.yml +++ b/config/.config/gh/hosts.yml @@ -1,3 +1,3 @@ github.com: - user: nvsd - git_protocol: ssh + user: nvsd + git_protocol: ssh diff --git a/config/.config/nvim/lua/plugins/auto-theme.lua b/config/.config/nvim/lua/plugins/auto-theme.lua new file mode 100644 index 0000000..6c5555b --- /dev/null +++ b/config/.config/nvim/lua/plugins/auto-theme.lua @@ -0,0 +1,17 @@ +return { + "f-person/auto-dark-mode.nvim", + config = { + dependencies = {'olimorris/onedarkpro.nvim'}, + priority = 1000, + update_interval = 1000, + set_dark_mode = function() + vim.cmd("colorscheme onedark") + end, + set_light_mode = function() + vim.cmd("colorscheme onelight") + end, + }, + init = function() + require("auto-dark-mode").init() + end, +} diff --git a/config/.config/nvim/lua/plugins/lsp-config.lua b/config/.config/nvim/lua/plugins/lsp-config.lua index 3dee423..c16faff 100644 --- a/config/.config/nvim/lua/plugins/lsp-config.lua +++ b/config/.config/nvim/lua/plugins/lsp-config.lua @@ -17,6 +17,19 @@ return { local lspconfig = require("lspconfig") local telescope = require('telescope.builtin') + lspconfig.tailwindcss.setup({ + settings = { + tailwindCSS = { + experimental = { + classRegex = { + { "cva\\(([^)]*)\\)", + "[\"'`]([^\"'`]*).*?[\"'`]" }, + }, + }, + }, + }, + }) + local MY_FQBN = "arduino:avr:nano" lspconfig.arduino_language_server.setup { filetypes = { "ino", "cpp", "h" }, @@ -59,6 +72,17 @@ return { vim.api.nvim_command('cfirst') -- or maybe you want 'copen' instead of 'cfirst' end + local lsp_formatting = function(bufnr) + vim.lsp.buf.format({ + filter = function(client) + return client.name == "null-ls" + end, + bufnr = bufnr, + }) + end + + local augroup = vim.api.nvim_create_augroup("LspFormatting", {}) + lsp.on_attach(function(client, bufnr) local nmap = function(keys, func, desc) vim.keymap.set('n', keys, func, { buffer = bufnr, desc = desc }) @@ -76,9 +100,16 @@ return { local bufopts = { noremap = true, silent = true, buffer = bufnr } vim.keymap.set('n', 'gd', function() vim.lsp.buf.definition { on_list = on_list } end, bufopts) - - - lsp.buffer_autoformat() + if client.supports_method("textDocument/formatting") then + vim.api.nvim_clear_autocmds({ group = augroup, buffer = bufnr }) + vim.api.nvim_create_autocmd("BufWritePre", { + group = augroup, + buffer = bufnr, + callback = function() + lsp_formatting(bufnr) + end, + }) + end end) vim.lsp.handlers['textDocument/publishDiagnostics'] = vim.lsp.with( diff --git a/config/.config/nvim/lua/plugins/null-ls.lua b/config/.config/nvim/lua/plugins/null-ls.lua index 1f1709c..23b602d 100644 --- a/config/.config/nvim/lua/plugins/null-ls.lua +++ b/config/.config/nvim/lua/plugins/null-ls.lua @@ -3,8 +3,8 @@ return { config = function() require('null-ls').setup({ sources = { - require('null-ls').builtins.formatting.prettier, - require('null-ls').builtins.diagnostics.eslint, + require('null-ls').builtins.formatting.prettierd, + require('null-ls').builtins.diagnostics.eslint_d, require("typescript.extensions.null-ls.code-actions"), } }) diff --git a/config/.config/pgcli/config b/config/.config/pgcli/config new file mode 100644 index 0000000..dcff63d --- /dev/null +++ b/config/.config/pgcli/config @@ -0,0 +1,210 @@ +# vi: ft=dosini +[main] + +# Enables context sensitive auto-completion. If this is disabled, all +# possible completions will be listed. +smart_completion = True + +# Display the completions in several columns. (More completions will be +# visible.) +wider_completion_menu = False + +# Multi-line mode allows breaking up the sql statements into multiple lines. If +# this is set to True, then the end of the statements must have a semi-colon. +# If this is set to False then sql statements can't be split into multiple +# lines. End of line (return) is considered as the end of the statement. +multi_line = False + +# If multi_line_mode is set to "psql", in multi-line mode, [Enter] will execute +# the current input if the input ends in a semicolon. +# If multi_line_mode is set to "safe", in multi-line mode, [Enter] will always +# insert a newline, and [Esc] [Enter] or [Alt]-[Enter] must be used to execute +# a command. +multi_line_mode = psql + +# Destructive warning mode will alert you before executing a sql statement +# that may cause harm to the database such as "drop table", "drop database", +# "shutdown", "delete", or "update". +# Possible values: +# "all" - warn on data definition statements, server actions such as SHUTDOWN, DELETE or UPDATE +# "moderate" - skip warning on UPDATE statements, except for unconditional updates +# "off" - skip all warnings +destructive_warning = all + +# Enables expand mode, which is similar to `\x` in psql. +expand = False + +# Enables auto expand mode, which is similar to `\x auto` in psql. +auto_expand = False + +# If set to True, table suggestions will include a table alias +generate_aliases = False + +# log_file location. +# In Unix/Linux: ~/.config/pgcli/log +# In Windows: %USERPROFILE%\AppData\Local\dbcli\pgcli\log +# %USERPROFILE% is typically C:\Users\{username} +log_file = default + +# keyword casing preference. Possible values: "lower", "upper", "auto" +keyword_casing = auto + +# casing_file location. +# In Unix/Linux: ~/.config/pgcli/casing +# In Windows: %USERPROFILE%\AppData\Local\dbcli\pgcli\casing +# %USERPROFILE% is typically C:\Users\{username} +casing_file = default + +# If generate_casing_file is set to True and there is no file in the above +# location, one will be generated based on usage in SQL/PLPGSQL functions. +generate_casing_file = False + +# Casing of column headers based on the casing_file described above +case_column_headers = True + +# history_file location. +# In Unix/Linux: ~/.config/pgcli/history +# In Windows: %USERPROFILE%\AppData\Local\dbcli\pgcli\history +# %USERPROFILE% is typically C:\Users\{username} +history_file = default + +# Default log level. Possible values: "CRITICAL", "ERROR", "WARNING", "INFO" +# and "DEBUG". "NONE" disables logging. +log_level = INFO + +# Order of columns when expanding * to column list +# Possible values: "table_order" and "alphabetic" +asterisk_column_order = table_order + +# Whether to qualify with table alias/name when suggesting columns +# Possible values: "always", "never" and "if_more_than_one_table" +qualify_columns = if_more_than_one_table + +# When no schema is entered, only suggest objects in search_path +search_path_filter = False + +# Default pager. +# By default 'PAGER' environment variable is used +# pager = less -SRXF + +# Timing of sql statements and table rendering. +timing = True + +# Show/hide the informational toolbar with function keymap at the footer. +show_bottom_toolbar = True + +# Table format. Possible values: psql, plain, simple, grid, fancy_grid, pipe, +# ascii, double, github, orgtbl, rst, mediawiki, html, latex, latex_booktabs, +# textile, moinmoin, jira, vertical, tsv, csv, sql-insert, sql-update, +# sql-update-1, sql-update-2 (formatter with sql-* prefix can format query +# output to executable insertion or updating sql). +# Recommended: psql, fancy_grid and grid. +table_format = psql + +# Syntax Style. Possible values: manni, igor, xcode, vim, autumn, vs, rrt, +# native, perldoc, borland, tango, emacs, friendly, monokai, paraiso-dark, +# colorful, murphy, bw, pastie, paraiso-light, trac, default, fruity +syntax_style = default + +# Keybindings: +# When Vi mode is enabled you can use modal editing features offered by Vi in the REPL. +# When Vi mode is disabled emacs keybindings such as Ctrl-A for home and Ctrl-E +# for end are available in the REPL. +vi = False + +# Error handling +# When one of multiple SQL statements causes an error, choose to either +# continue executing the remaining statements, or stopping +# Possible values "STOP" or "RESUME" +on_error = STOP + +# Set threshold for row limit. Use 0 to disable limiting. +row_limit = 1000 + +# Truncate long text fields to this value for tabular display (does not apply to csv). +# Leave unset to disable truncation. Example: "max_field_width = " +# Be aware that formatting might get slow with values larger than 500 and tables with +# lots of records. +max_field_width = 500 + +# Skip intro on startup and goodbye on exit +less_chatty = False + +# Postgres prompt +# \t - Current date and time +# \u - Username +# \h - Short hostname of the server (up to first '.') +# \H - Hostname of the server +# \d - Database name +# \p - Database port +# \i - Postgres PID +# \# - "@" sign if logged in as superuser, '>' in other case +# \n - Newline +# \dsn_alias - name of dsn alias if -D option is used (empty otherwise) +# \x1b[...m - insert ANSI escape sequence +# eg: prompt = '\x1b[35m\u@\x1b[32m\h:\x1b[36m\d>' +prompt = '\u@\h:\d> ' + +# Number of lines to reserve for the suggestion menu +min_num_menu_lines = 4 + +# Character used to left pad multi-line queries to match the prompt size. +multiline_continuation_char = '' + +# The string used in place of a null value. +null_string = '' + +# manage pager on startup +enable_pager = True + +# Use keyring to automatically save and load password in a secure manner +keyring = True + +# Custom colors for the completion menu, toolbar, etc. +[colors] +completion-menu.completion.current = 'bg:#ffffff #000000' +completion-menu.completion = 'bg:#008888 #ffffff' +completion-menu.meta.completion.current = 'bg:#44aaaa #000000' +completion-menu.meta.completion = 'bg:#448888 #ffffff' +completion-menu.multi-column-meta = 'bg:#aaffff #000000' +scrollbar.arrow = 'bg:#003333' +scrollbar = 'bg:#00aaaa' +selected = '#ffffff bg:#6666aa' +search = '#ffffff bg:#4444aa' +search.current = '#ffffff bg:#44aa44' +bottom-toolbar = 'bg:#222222 #aaaaaa' +bottom-toolbar.off = 'bg:#222222 #888888' +bottom-toolbar.on = 'bg:#222222 #ffffff' +search-toolbar = 'noinherit bold' +search-toolbar.text = 'nobold' +system-toolbar = 'noinherit bold' +arg-toolbar = 'noinherit bold' +arg-toolbar.text = 'nobold' +bottom-toolbar.transaction.valid = 'bg:#222222 #00ff5f bold' +bottom-toolbar.transaction.failed = 'bg:#222222 #ff005f bold' +# These three values can be used to further refine the syntax highlighting. +# They are commented out by default, since they have priority over the theme set +# with the `syntax_style` setting and overriding its behavior can be confusing. +# literal.string = '#ba2121' +# literal.number = '#666666' +# keyword = 'bold #008000' + +# style classes for colored table output +output.header = "#00ff5f bold" +output.odd-row = "" +output.even-row = "" +output.null = "#808080" + +# Named queries are queries you can execute by name. +[named queries] + +# DSN to call by -D option +[alias_dsn] +# example_dsn = postgresql://[user[:password]@][netloc][:port][/dbname] + +# Format for number representation +# for decimal "d" - 12345678, ",d" - 12,345,678 +# for float "g" - 123456.78, ",g" - 123,456.78 +[data_formats] +decimal = "" +float = "" diff --git a/config/.config/pgcli/history b/config/.config/pgcli/history new file mode 100644 index 0000000..8a1fe3b --- /dev/null +++ b/config/.config/pgcli/history @@ -0,0 +1,156 @@ + +# 2023-07-19 22:20:31.042489 ++ls + +# 2023-07-19 22:20:35.777519 ++exit + +# 2023-07-20 02:14:23.194251 ++\l + +# 2023-07-20 02:14:32.168758 ++\c dev + +# 2023-07-20 02:14:42.803713 ++drop database dev; + +# 2023-07-20 02:14:51.638737 ++\c po + +# 2023-07-20 02:14:56.865095 ++\c postgres + +# 2023-07-20 02:15:01.432827 ++drop database dev; + +# 2023-07-20 02:15:05.277991 ++exit + +# 2023-07-22 18:40:22.807221 ++\l + +# 2023-07-22 18:40:25.642646 ++\c dev + +# 2023-07-22 18:40:36.039190 ++select * from "user"; + +# 2023-07-22 18:44:13.991569 ++\c postgres + +# 2023-07-22 18:44:18.942147 ++delete database dev + +# 2023-07-22 18:44:26.800150 ++delete database dev; + +# 2023-07-22 18:44:35.356580 ++delete dev; + +# 2023-07-22 18:44:45.670631 ++drop database dev; + +# 2023-07-22 18:44:58.216339 ++exit + +# 2023-07-23 17:04:41.409560 ++drop database dev; + +# 2023-07-23 17:04:51.996686 ++exit + +# 2023-07-23 17:07:04.731923 ++drop database dev; + +# 2023-07-23 17:07:07.572533 ++exit + +# 2023-07-25 18:53:27.687973 ++\c dev + +# 2023-07-25 18:53:44.458308 ++\l + +# 2023-07-25 18:53:53.810456 ++\c dev + +# 2023-07-25 18:53:56.988686 ++\l + +# 2023-07-25 18:54:00.560206 ++\t + +# 2023-07-25 18:54:02.269273 ++\s + +# 2023-07-25 18:54:03.817975 ++\d + +# 2023-07-25 18:56:17.827398 ++\q + +# 2023-07-25 18:58:28.690353 ++drop DATABASE dev; + +# 2023-07-25 18:58:40.030594 ++q + +# 2023-07-25 18:58:42.210623 ++\q + +# 2023-07-25 19:04:43.633164 ++\c dev + +# 2023-07-25 19:04:48.935739 ++\t + +# 2023-07-25 19:04:50.657742 ++\l + +# 2023-07-25 19:04:54.257247 ++\h + +# 2023-07-25 19:05:12.472353 ++\d + +# 2023-07-25 19:05:24.139714 ++select * from exercise; + +# 2023-07-25 19:06:23.917616 ++exit + +# 2023-07-26 02:45:34.668806 ++drop database dev; + +# 2023-07-26 02:45:45.593651 ++exit + +# 2023-07-26 02:48:55.623676 ++drop database dev; + +# 2023-07-26 02:48:58.874636 ++exit + +# 2023-07-26 02:51:05.368150 ++drop database dev; + +# 2023-07-26 02:51:08.438597 ++exit + +# 2023-07-26 19:13:14.807289 ++drop database dev; + +# 2023-07-26 19:13:19.201503 ++exit + +# 2023-07-26 19:44:26.295253 ++drop database dev; + +# 2023-07-26 19:44:36.711040 ++\q + +# 2023-07-26 19:45:46.968834 ++drop database dev; + +# 2023-07-26 19:45:51.149631 ++exit diff --git a/config/.config/pgcli/log b/config/.config/pgcli/log new file mode 100644 index 0000000..5a19e4a --- /dev/null +++ b/config/.config/pgcli/log @@ -0,0 +1,80 @@ +2023-07-19 22:14:31,943 (63213/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-19 22:14:31,943 (63213/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-19 22:14:38,067 (63213/MainThread) pgcli.main ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 627, in connect\n pgexecute = PGExecute(database, user, passwd, host, port, dsn, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 636, in connect\n pgexecute = PGExecute(\n ^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n' +2023-07-19 22:14:45,654 (64094/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-19 22:14:45,654 (64094/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-19 22:14:49,838 (64094/MainThread) pgcli.main ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 627, in connect\n pgexecute = PGExecute(database, user, passwd, host, port, dsn, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 636, in connect\n pgexecute = PGExecute(\n ^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n' +2023-07-19 22:15:16,009 (64928/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-19 22:15:16,010 (64928/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-19 22:15:18,850 (64928/MainThread) pgcli.main ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 630, in connect\n passwd = click.prompt(\n ^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/click/termui.py", line 166, in prompt\n value = prompt_func(prompt)\n ^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/click/termui.py", line 149, in prompt_func\n raise Abort() from None\nclick.exceptions.Abort\n' +2023-07-19 22:20:00,932 (72473/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-19 22:20:00,932 (72473/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-19 22:20:00,965 (72473/MainThread) pgcli.main ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 640, in connect\n raise e\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 627, in connect\n pgexecute = PGExecute(database, user, passwd, host, port, dsn, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: server closed the connection unexpectedly\n\tThis probably means the server terminated abnormally\n\tbefore or while processing the request.\n' +2023-07-19 22:20:05,887 (73387/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-19 22:20:05,887 (73387/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-19 22:20:08,340 (73387/MainThread) pgcli.main ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 627, in connect\n pgexecute = PGExecute(database, user, passwd, host, port, dsn, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 636, in connect\n pgexecute = PGExecute(\n ^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n' +2023-07-19 22:20:28,022 (74329/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-19 22:20:28,022 (74329/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-19 22:20:31,046 (74329/MainThread) pgcli.pgexecute ERROR - sql: 'ls', error: SyntaxError('syntax error at or near "ls"\nLINE 1: ls\n ^') +2023-07-19 22:20:31,047 (74329/MainThread) pgcli.pgexecute ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 373, in run\n yield self.execute_normal_sql(sql) + (sql, True, False)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 423, in execute_normal_sql\n cur.execute(split_sql)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 69, in execute\n super().execute(*args, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/cursor.py", line 723, in execute\n raise ex.with_traceback(None)\npsycopg.errors.SyntaxError: syntax error at or near "ls"\nLINE 1: ls\n ^\n' +2023-07-20 02:13:59,489 (74611/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-20 02:13:59,490 (74611/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-20 02:14:01,588 (74611/MainThread) pgcli.main ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 627, in connect\n pgexecute = PGExecute(database, user, passwd, host, port, dsn, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 636, in connect\n pgexecute = PGExecute(\n ^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n' +2023-07-20 02:14:17,803 (76144/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-20 02:14:17,803 (76144/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-20 02:14:44,567 (76144/MainThread) pgcli.pgexecute ERROR - sql: 'drop database dev', error: ObjectInUse('cannot drop the currently open database') +2023-07-20 02:14:44,569 (76144/MainThread) pgcli.pgexecute ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 373, in run\n yield self.execute_normal_sql(sql) + (sql, True, False)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 423, in execute_normal_sql\n cur.execute(split_sql)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 69, in execute\n super().execute(*args, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/cursor.py", line 723, in execute\n raise ex.with_traceback(None)\npsycopg.errors.ObjectInUse: cannot drop the currently open database\n' +2023-07-22 18:40:10,892 (85557/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-22 18:40:10,893 (85557/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-22 18:40:13,063 (85557/MainThread) pgcli.main ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 627, in connect\n pgexecute = PGExecute(database, user, passwd, host, port, dsn, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 636, in connect\n pgexecute = PGExecute(\n ^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n' +2023-07-22 18:40:16,148 (86260/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-22 18:40:16,148 (86260/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-22 18:40:16,546 (86260/MainThread) pgcli.main ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 627, in connect\n pgexecute = PGExecute(database, user, passwd, host, port, dsn, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 636, in connect\n pgexecute = PGExecute(\n ^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n' +2023-07-22 18:40:18,516 (86950/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-22 18:40:18,516 (86950/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-22 18:44:20,724 (86950/MainThread) pgcli.pgexecute ERROR - sql: 'delete database dev', error: SyntaxError('syntax error at or near "database"\nLINE 1: delete database dev\n ^') +2023-07-22 18:44:20,728 (86950/MainThread) pgcli.pgexecute ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 373, in run\n yield self.execute_normal_sql(sql) + (sql, True, False)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 423, in execute_normal_sql\n cur.execute(split_sql)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 69, in execute\n super().execute(*args, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/cursor.py", line 723, in execute\n raise ex.with_traceback(None)\npsycopg.errors.SyntaxError: syntax error at or near "database"\nLINE 1: delete database dev\n ^\n' +2023-07-22 18:44:27,797 (86950/MainThread) pgcli.pgexecute ERROR - sql: 'delete database dev', error: SyntaxError('syntax error at or near "database"\nLINE 1: delete database dev\n ^') +2023-07-22 18:44:27,798 (86950/MainThread) pgcli.pgexecute ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 373, in run\n yield self.execute_normal_sql(sql) + (sql, True, False)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 423, in execute_normal_sql\n cur.execute(split_sql)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 69, in execute\n super().execute(*args, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/cursor.py", line 723, in execute\n raise ex.with_traceback(None)\npsycopg.errors.SyntaxError: syntax error at or near "database"\nLINE 1: delete database dev\n ^\n' +2023-07-22 18:44:36,862 (86950/MainThread) pgcli.pgexecute ERROR - sql: 'delete dev', error: SyntaxError('syntax error at or near "dev"\nLINE 1: delete dev\n ^') +2023-07-22 18:44:36,863 (86950/MainThread) pgcli.pgexecute ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 373, in run\n yield self.execute_normal_sql(sql) + (sql, True, False)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 423, in execute_normal_sql\n cur.execute(split_sql)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 69, in execute\n super().execute(*args, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/cursor.py", line 723, in execute\n raise ex.with_traceback(None)\npsycopg.errors.SyntaxError: syntax error at or near "dev"\nLINE 1: delete dev\n ^\n' +2023-07-22 18:44:51,611 (86950/MainThread) pgcli.pgexecute ERROR - sql: 'drop database dev', error: ObjectInUse('database "dev" is being accessed by other users\nDETAIL: There is 1 other session using the database.') +2023-07-22 18:44:51,612 (86950/MainThread) pgcli.pgexecute ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 373, in run\n yield self.execute_normal_sql(sql) + (sql, True, False)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 423, in execute_normal_sql\n cur.execute(split_sql)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 69, in execute\n super().execute(*args, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/cursor.py", line 723, in execute\n raise ex.with_traceback(None)\npsycopg.errors.ObjectInUse: database "dev" is being accessed by other users\nDETAIL: There is 1 other session using the database.\n' +2023-07-23 17:04:27,092 (11368/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-23 17:04:27,092 (11368/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-23 17:06:58,571 (12988/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-23 17:06:58,571 (12988/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-25 18:53:08,818 (4509/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-25 18:53:08,819 (4509/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-25 18:54:00,568 (4509/MainThread) pgcli.pgexecute ERROR - sql: '\\t', error: SyntaxError('syntax error at or near "\\"\nLINE 1: \\t\n ^') +2023-07-25 18:54:00,572 (4509/MainThread) pgcli.pgexecute ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 373, in run\n yield self.execute_normal_sql(sql) + (sql, True, False)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 423, in execute_normal_sql\n cur.execute(split_sql)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 69, in execute\n super().execute(*args, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/cursor.py", line 723, in execute\n raise ex.with_traceback(None)\npsycopg.errors.SyntaxError: syntax error at or near "\\"\nLINE 1: \\t\n ^\n' +2023-07-25 18:54:02,283 (4509/MainThread) pgcli.pgexecute ERROR - sql: '\\s', error: SyntaxError('syntax error at or near "\\"\nLINE 1: \\s\n ^') +2023-07-25 18:54:02,284 (4509/MainThread) pgcli.pgexecute ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 373, in run\n yield self.execute_normal_sql(sql) + (sql, True, False)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 423, in execute_normal_sql\n cur.execute(split_sql)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 69, in execute\n super().execute(*args, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/cursor.py", line 723, in execute\n raise ex.with_traceback(None)\npsycopg.errors.SyntaxError: syntax error at or near "\\"\nLINE 1: \\s\n ^\n' +2023-07-25 18:58:20,552 (11389/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-25 18:58:20,552 (11389/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-25 18:58:40,045 (11389/MainThread) pgcli.pgexecute ERROR - sql: 'q', error: SyntaxError('syntax error at or near "q"\nLINE 1: q\n ^') +2023-07-25 18:58:40,048 (11389/MainThread) pgcli.pgexecute ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 373, in run\n yield self.execute_normal_sql(sql) + (sql, True, False)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 423, in execute_normal_sql\n cur.execute(split_sql)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 69, in execute\n super().execute(*args, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/cursor.py", line 723, in execute\n raise ex.with_traceback(None)\npsycopg.errors.SyntaxError: syntax error at or near "q"\nLINE 1: q\n ^\n' +2023-07-25 19:04:35,904 (16920/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-25 19:04:35,904 (16920/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-25 19:04:48,947 (16920/MainThread) pgcli.pgexecute ERROR - sql: '\\t', error: SyntaxError('syntax error at or near "\\"\nLINE 1: \\t\n ^') +2023-07-25 19:04:48,951 (16920/MainThread) pgcli.pgexecute ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 373, in run\n yield self.execute_normal_sql(sql) + (sql, True, False)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 423, in execute_normal_sql\n cur.execute(split_sql)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 69, in execute\n super().execute(*args, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/cursor.py", line 723, in execute\n raise ex.with_traceback(None)\npsycopg.errors.SyntaxError: syntax error at or near "\\"\nLINE 1: \\t\n ^\n' +2023-07-26 02:45:20,297 (89136/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-26 02:45:20,297 (89136/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-26 02:48:48,620 (96809/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-26 02:48:48,620 (96809/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-26 02:48:50,332 (96809/MainThread) pgcli.main ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 627, in connect\n pgexecute = PGExecute(database, user, passwd, host, port, dsn, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 636, in connect\n pgexecute = PGExecute(\n ^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n' +2023-07-26 02:48:52,863 (97696/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-26 02:48:52,863 (97696/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-26 02:51:02,313 (6115/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-26 02:51:02,313 (6115/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-26 19:13:08,953 (28308/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-26 19:13:08,953 (28308/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-26 19:44:19,283 (43265/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-26 19:44:19,283 (43265/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-26 19:44:20,917 (43265/MainThread) pgcli.main ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 627, in connect\n pgexecute = PGExecute(database, user, passwd, host, port, dsn, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/main.py", line 636, in connect\n pgexecute = PGExecute(\n ^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 161, in __init__\n self.connect(database, user, password, host, port, dsn, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 207, in connect\n conn = psycopg.connect(conn_info)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect\n raise ex.with_traceback(None)\npsycopg.OperationalError: connection failed: :1), port 5432 failed: FATAL: password authentication failed for user "postgres"\n' +2023-07-26 19:44:23,108 (44076/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-26 19:44:23,108 (44076/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). +2023-07-26 19:44:31,367 (44076/MainThread) pgcli.pgexecute ERROR - sql: 'drop database dev', error: InvalidCatalogName('database "dev" does not exist') +2023-07-26 19:44:31,370 (44076/MainThread) pgcli.pgexecute ERROR - traceback: 'Traceback (most recent call last):\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 373, in run\n yield self.execute_normal_sql(sql) + (sql, True, False)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 423, in execute_normal_sql\n cur.execute(split_sql)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/pgcli/pgexecute.py", line 69, in execute\n super().execute(*args, **kwargs)\n File "/opt/homebrew/Cellar/pgcli/3.5.0_1/libexec/lib/python3.11/site-packages/psycopg/cursor.py", line 723, in execute\n raise ex.with_traceback(None)\npsycopg.errors.InvalidCatalogName: database "dev" does not exist\n' +2023-07-26 19:45:44,395 (48339/MainThread) pgcli.main INFO - No default pager found in environment. Using os default pager +2023-07-26 19:45:44,395 (48339/MainThread) pgcli.main WARNING - import keyring failed: ModuleNotFoundError("No module named 'keyring'"). diff --git a/config/.config/zed/settings.json b/config/.config/zed/settings.json new file mode 100644 index 0000000..37461b6 --- /dev/null +++ b/config/.config/zed/settings.json @@ -0,0 +1,13 @@ +// Zed settings +// +// For information on how to configure Zed, see the Zed +// documentation: https://zed.dev/docs/configuring-zed +// +// To see all of Zed's default settings without changing your +// custom settings, run the `open default settings` command +// from the command palette or from `Zed` application menu. +{ + "base_keymap": "VSCode", + "buffer_font_size": 15, + "vim_mode": true +} diff --git a/zsh/.zshrc b/zsh/.zshrc index 88765f8..361e248 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -36,9 +36,7 @@ source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters -export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + eval "$(zoxide init zsh)" source /opt/homebrew/opt/spaceship/spaceship.zsh @@ -51,3 +49,7 @@ case ":$PATH:" in esac # pnpm end export PATH="/opt/homebrew/opt/llvm/bin:$PATH" +export VOLTA_HOME="$HOME/.volta" +export PATH="$VOLTA_HOME/bin:$PATH" + +eval "$(direnv hook zsh)"