Skip to content

Commit ab7551f

Browse files
committed
complete ~/.myclirc options in startup TIPS
In some cases such as [connection], the section is mentioned without mentioning every option within.
1 parent e861e27 commit ab7551f

2 files changed

Lines changed: 66 additions & 0 deletions

File tree

changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
Upcoming (TBD)
2+
==============
3+
4+
Features
5+
--------
6+
* add all `~/.myclirc` entries/sections to startup tips.
7+
8+
19
1.52.0 (2026/02/11)
210
==============
311

mycli/TIPS

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,64 @@ choose a color theme with "syntax_style" in ~/.myclirc!
116116

117117
design a prompt with the "prompt" option in ~/.myclirc!
118118

119+
turn off multi-line prompt indentation with "prompt_continuation = ''" in ~/.myclirc!
120+
119121
save passwords in the system keyring with "use_keyring" in ~/.myclirc!
120122

123+
enable SHOW WARNINGS with "show warnings" in ~/.myclirc!
124+
125+
turn off smart completions with "smart_completion" in ~/.myclirc!
126+
127+
turn on multi-line mode with "multi_line" in ~/.myclirc!
128+
129+
turn off destructive warnings with "destructive_warning" in ~/.myclirc!
130+
131+
control destructive warnings with "destructive_keywords" in ~/.myclirc!
132+
133+
move the history file locattion with "history_file" in ~/.myclirc!
134+
135+
enable an audit log with "audit_log" in ~/.myclirc!
136+
137+
disable timing of SQL statements with "timiing" in ~/.myclirc!
138+
139+
disable display of SQL when running a favorite with "show_favorite_query" in ~/.myclirc!
140+
141+
notify after a long query by setting "beep_after_seconds" in ~/.myclirc!
142+
143+
control alignment with "numeric_alignment" in ~/.myclirc!
144+
145+
control binary value display with "binary_display" in ~/.myclirc!
146+
147+
set vi key bindings with "key_bindings" in ~/.myclirc!
148+
149+
show more suggestions with "wider_completion_menu" in ~/.myclirc!
150+
151+
use the host alias in the prompt with "login_path_as_host" in ~/.myclirc!
152+
153+
auto-display wide results vertically with "auto_vertical_output" in ~/.myclirc!
154+
155+
control keyword casing in completions using "keyword_casing" in ~/.myclirc!
156+
157+
disable pager on startup using "enable_pager" in ~/.myclirc!
158+
159+
choose a pager command with "pager" in ~/.myclirc!
160+
161+
customize colors using the "[colors]" section in ~/.myclirc!
162+
163+
customize LLM commands using the "[llm]" section in ~/.myclirc!
164+
165+
customize history search using "control_r" in ~/.myclirc!
166+
167+
edit favorite queries directly using the "[favorite_queries]" section in ~/.myclirc!
168+
169+
set up initial commands using the "[init-commands]" section in ~/.myclirc!
170+
171+
create DSN shortcuts using the "[alias_dsn]" section in ~/.myclirc!
172+
173+
set up per-DSN initial commands using the "[alias_dsn.init-commands]" section in ~/.myclirc!
174+
175+
set up connection defaults using the "[connection]" section in ~/.myclirc!
176+
121177
###
122178
### redirection
123179
###
@@ -127,3 +183,5 @@ redirect query output to a shell command with "$| <command>"!
127183
redirect query output to a file with "$> <filename>"!
128184

129185
append query output to a file with "$>> <filename>"!
186+
187+
run a command after shell redirects with "post_redirect_command" in ~/.myclirc!

0 commit comments

Comments
 (0)