Skip to content

Commit

Permalink
enable code copy and select
Browse files Browse the repository at this point in the history
  • Loading branch information
aceat64 committed Jul 15, 2023
1 parent d7b1e53 commit 013aaa2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
6 changes: 2 additions & 4 deletions content/guides/macos-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ While it's optional, I recommend installing the [bat-extras](https://github.com/

To easily format help output from a command, I put the following alias and function in my `~/.zshrc` file:

```shell
# ~/.zshrc
```shell title="~/.zshrc"
alias bathelp='bat --plain --language=help'
help() {
"$@" --help 2>&1 | bathelp
Expand Down Expand Up @@ -173,8 +172,7 @@ brew install git-delta

Update your `~/.gitconfig` file:

```toml
# ~/.gitconfig
```toml title="~/.gitconfig"
[core]
pager = delta

Expand Down
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ theme:
- navigation.tracking
- navigation.tabs
- navigation.top
- content.code.copy
- content.code.select
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
Expand Down
20 changes: 10 additions & 10 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 013aaa2

Please sign in to comment.