mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 03:06:40 +00:00
feat(tools/tldr): customize styling of Rust-based tlrc tldr client
This commit is contained in:
76
config/tlrc/config.toml
Normal file
76
config/tlrc/config.toml
Normal file
@@ -0,0 +1,76 @@
|
||||
[output]
|
||||
show_title = true
|
||||
platform_title = false
|
||||
show_hyphens = true
|
||||
example_prefix = "- "
|
||||
compact = false
|
||||
raw_markdown = false
|
||||
|
||||
[indent]
|
||||
title = 2
|
||||
description = 2
|
||||
bullet = 2
|
||||
example = 4
|
||||
|
||||
[style.title]
|
||||
color = "magenta"
|
||||
background = "default"
|
||||
bold = true
|
||||
underline = false
|
||||
italic = false
|
||||
dim = false
|
||||
strikethrough = false
|
||||
|
||||
[style.description]
|
||||
color = "default"
|
||||
background = "default"
|
||||
bold = false
|
||||
underline = false
|
||||
italic = false
|
||||
dim = false
|
||||
strikethrough = false
|
||||
|
||||
[style.bullet]
|
||||
color = "default"
|
||||
background = "default"
|
||||
bold = false
|
||||
underline = false
|
||||
italic = false
|
||||
dim = false
|
||||
strikethrough = false
|
||||
|
||||
[style.example]
|
||||
color = "green"
|
||||
background = "default"
|
||||
bold = false
|
||||
underline = false
|
||||
italic = false
|
||||
dim = false
|
||||
strikethrough = false
|
||||
|
||||
[style.url]
|
||||
color = "cyan"
|
||||
background = "default"
|
||||
bold = false
|
||||
underline = true
|
||||
italic = false
|
||||
dim = false
|
||||
strikethrough = false
|
||||
|
||||
[style.inline_code]
|
||||
color = "yellow"
|
||||
background = "default"
|
||||
bold = false
|
||||
underline = false
|
||||
italic = false
|
||||
dim = false
|
||||
strikethrough = false
|
||||
|
||||
[style.placeholder]
|
||||
color = "red"
|
||||
background = "default"
|
||||
bold = false
|
||||
underline = false
|
||||
italic = false
|
||||
dim = false
|
||||
strikethrough = false
|
||||
@@ -19,6 +19,7 @@ SYMLINKS=(
|
||||
config/mise/settings.toml
|
||||
config/solargraph/config.yml
|
||||
config/starship.toml
|
||||
config/tlrc/config.toml
|
||||
config/xkeysnail/config.py
|
||||
default-gems
|
||||
default-go-packages
|
||||
|
||||
7
zsh/tldr.zsh
Normal file
7
zsh/tldr.zsh
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# tldr Setup
|
||||
#
|
||||
|
||||
if command-exists tldr && [ -f "$HOME/.config/tlrc/config.toml" ]; then
|
||||
alias tldr='tldr --config $HOME/.config/tlrc/config.toml'
|
||||
fi
|
||||
Reference in New Issue
Block a user