Re:rainfrog – a database management TUI for Postgres
by askvictor on Tuesday September 17, 2024 @03:56AM
(#41565406)
Looking forward to trying it, though would be nice if credentials could be specified in a different way than on the command line (whereby they'll get saved into your command line history).
[ Parent
| on HN ]
Re:rainfrog – a database management TUI for Postgres
by maxbond on Tuesday September 17, 2024 @04:17AM
(#41565533)
`psql` allows for putting your credentials in a dotfile with a very simple syntax. Should be quick to add support for, and would create a seamless onboarding experience for people who are already using `psql`.
Re:rainfrog – a database management TUI for Postgres
by tbrb on Tuesday September 17, 2024 @04:13AM
(#41565509)
Agree that it would be nice to specify credentials a different way - however as a workaround: some bash-based shells support prefixing the command with a space as a way of not saving that command into history.
Ref: https://www.gnu.org/software/bash/manual/html_node/Bash-Vari...
Re:rainfrog – a database management TUI for Postgres
by pcthrowaway on Tuesday September 17, 2024 @07:39AM
(#41566614)
Generally if you put a space before your command it'll bypass the history, though depending on your *nix you might need to set `HISTCONTROL=ignoreboth` in your bashrc or similar if it's not already.
Re:rainfrog – a database management TUI for Postgres
by achristmascarl on Tuesday September 17, 2024 @08:51AM
(#41567109)
that makes sense, thank you for opening an issue!