diff options
author | cbreton <c.breton@fullsave.com> | 2020-01-09 10:42:26 +0100 |
---|---|---|
committer | cbreton <c.breton@fullsave.com> | 2020-01-09 10:42:26 +0100 |
commit | f86d315c79f1ea2cfec263f412931a6a33db5179 (patch) | |
tree | 33f844ab12f616e19e0f09965f25860ff5cba84a | |
parent | ecc25dcecac342a7b39376ba969f1c5ea25a8aaa (diff) | |
download | dotfiles-f86d315c79f1ea2cfec263f412931a6a33db5179.tar.xz dotfiles-f86d315c79f1ea2cfec263f412931a6a33db5179.zip |
Update cheat to the last version
Diffstat (limited to '')
-rw-r--r-- | config.yaml | 6 | ||||
-rw-r--r-- | dotfiles/config/cheat/conf.yml | 39 | ||||
-rwxr-xr-x | install.sh | 2 |
3 files changed, 46 insertions, 1 deletions
diff --git a/config.yaml b/config.yaml index 9018465..1867912 100644 --- a/config.yaml +++ b/config.yaml @@ -19,6 +19,9 @@ dotfiles: link: link src: cheat dst: ~/.cheat + d_cheat_config: + src: config/cheat + dst: ~/.config/cheat f_gitconfig: src: gitconfig dst: ~/.gitconfig @@ -90,6 +93,7 @@ profiles: - d_aria2 - d_systemd - d_cheat + - d_cheat_config - f_gitconfig - d_i3 - d_scripts @@ -118,6 +122,7 @@ profiles: - d_aria2 - d_systemd - d_cheat + - d_cheat_config - f_gitconfig - d_i3 - d_scripts @@ -146,6 +151,7 @@ profiles: - d_aria2 - d_systemd - d_cheat + - d_cheat_config - f_gitconfig - d_i3 - d_scripts diff --git a/dotfiles/config/cheat/conf.yml b/dotfiles/config/cheat/conf.yml new file mode 100644 index 0000000..f249549 --- /dev/null +++ b/dotfiles/config/cheat/conf.yml @@ -0,0 +1,39 @@ +--- +# The editor to use with 'cheat -e <sheet>'. Defaults to $EDITOR or $VISUAL. +#editor: vim + +# Should 'cheat' always colorize output? +colorize: true + +# Which 'chroma' colorscheme should be applied to the output? +# Options are available here: +# https://github.com/alecthomas/chroma/tree/master/styles +style: monokai + +# Which 'chroma' "formatter" should be applied? +# One of: "terminal", "terminal256", "terminal16m" +formatter: terminal16m + +# The paths at which cheatsheets are available. Tags associated with a cheatpath +# are automatically attached to all cheatsheets residing on that path. +# +# Whenever cheatsheets share the same title (like 'tar'), the most local +# cheatsheets (those which come later in this file) take precedent over the +# less local sheets. This allows you to create your own "overides" for +# "upstream" cheatsheets. +# +# But what if you want to view the "upstream" cheatsheets instead of your own? +# Cheatsheets may be filtered via 'cheat -t <tag>' in combination with other +# commands. So, if you want to view the 'tar' cheatsheet that is tagged as +# 'community' rather than your own, you can use: cheat tar -t community +cheatpaths: + + - name: work + path: ~/.bcheat + tags: [ work ] + readonly: false + + - name: personal + path: ~/.cheat + tags: [ personal ] + readonly: false @@ -107,7 +107,7 @@ echo "Install alacritty..." echo "Install cheat..." -#pikaur -S --noconfirm --needed cheat-git +#pikaur -S --noconfirm --needed cheat ## gnupg |