mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 07: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/mise/settings.toml
|
||||||
config/solargraph/config.yml
|
config/solargraph/config.yml
|
||||||
config/starship.toml
|
config/starship.toml
|
||||||
|
config/tlrc/config.toml
|
||||||
config/xkeysnail/config.py
|
config/xkeysnail/config.py
|
||||||
default-gems
|
default-gems
|
||||||
default-go-packages
|
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
|
||||||
1
zshrc
1
zshrc
@@ -195,6 +195,7 @@ source "$DOTZSH/fzf.zsh"
|
|||||||
source "$DOTZSH/less.zsh"
|
source "$DOTZSH/less.zsh"
|
||||||
source "$DOTZSH/neovim.zsh"
|
source "$DOTZSH/neovim.zsh"
|
||||||
source "$DOTZSH/nix.zsh"
|
source "$DOTZSH/nix.zsh"
|
||||||
|
source "$DOTZSH/tldr.zsh"
|
||||||
source "$DOTZSH/tmux.zsh"
|
source "$DOTZSH/tmux.zsh"
|
||||||
source "$DOTZSH/zoxide.zsh"
|
source "$DOTZSH/zoxide.zsh"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user