From 9e9933e9cdc1ec46f3911b026be0af97e2d7d80a Mon Sep 17 00:00:00 2001 From: ivaquero Date: Tue, 30 Apr 2024 20:19:32 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E2=9E=95=20replace=20tealdeer=20with?= =?UTF-8?q?=20tlrc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- README_CN.md | 2 +- defaults.sh | 3 ++- defaults/Brewfile.txt | 2 +- defaults/Scoopfile.txt | 2 +- install.ps1 | 2 +- install.sh | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7e663a73..d7d71d0c 100755 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ Oxidizer is originally designed for **non-administrator** users. It saves your t - [x] Use [fd](https://github.com/sharkdp/fd) instead of `find` - [x] Use [ripgrep](https://github.com/BurntSushi/ripgrep) instead of `grep` - [x] Use [sd](https://github.com/chmln/sd) instead of `sed` - - [x] Use [tealdeer](https://github.com/dbrgn/tealdeer) instead of `tldr` or `man` + - [x] Use [tlrc](https://github.com/tldr-pages/tlrc) instead of `tldr` or `man` - [x] Use [zoxide](https://github.com/ajeetdsouza/zoxide) instead of `cd` or `z` - [ ] Use [hyperfine](https://github.com/sharkdp/hyperfine) instead of `time` - [ ] Use [procs](https://github.com/dalance/procs) instead of `ps` diff --git a/README_CN.md b/README_CN.md index abd0b56d..b4b8c935 100644 --- a/README_CN.md +++ b/README_CN.md @@ -73,7 +73,7 @@ Oxidizer 起初主要为非管理员用户设计,用于快速搭建跨平台 - [x] 使用 [fd](https://github.com/sharkdp/fd) 替换 `find` - [x] 使用 [ripgrep](https://github.com/BurntSushi/ripgrep) 替换 `grep` - [x] 使用 [sd](https://github.com/chmln/sd) 替换 `sed` - - [x] 使用 [tealdeer](https://github.com/dbrgn/tealdeer) 替换 `tldr` 和 `man` + - [x] 使用 [tlrc](https://github.com/tldr-pages/tlrc) 替换 `tldr` 和 `man` - [x] 使用 [zoxide](https://github.com/ajeetdsouza/zoxide) 替换 `cd` 和 `z` - [ ] 使用 [hyperfine](https://github.com/sharkdp/hyperfine) 替换 `time` - [ ] 使用 [procs](https://github.com/dalance/procs) 替换 `ps` diff --git a/defaults.sh b/defaults.sh index 78f942ad..87a534d5 100644 --- a/defaults.sh +++ b/defaults.sh @@ -129,7 +129,8 @@ alias c="clear" alias own="sudo chown -R $(whoami)" # tools -alias man="tldr" +alias tldr="tlrc" +alias man="tlrc" alias hf="hyperfine" # oxidizer diff --git a/defaults/Brewfile.txt b/defaults/Brewfile.txt index 37420744..dca67b66 100644 --- a/defaults/Brewfile.txt +++ b/defaults/Brewfile.txt @@ -5,5 +5,5 @@ lsd ouch ripgrep sd -tealdeer +tlrc zoxide diff --git a/defaults/Scoopfile.txt b/defaults/Scoopfile.txt index 28f691bf..46a9ad2a 100755 --- a/defaults/Scoopfile.txt +++ b/defaults/Scoopfile.txt @@ -5,6 +5,6 @@ lsd ouch ripgrep sd -tealdeer +tlrc zoxide sudo diff --git a/install.ps1 b/install.ps1 index 4d425753..20770b62 100755 --- a/install.ps1 +++ b/install.ps1 @@ -41,7 +41,7 @@ $pkgs = cat "$env:OXIDIZER\defaults\Scoopfile.txt" ForEach ( $pkg in $pkgs ) { Switch ($pkg) { ripgrep { $cmd = "rg" } - tealdeer { $cmd = "tldr" } + tlrc { $cmd = "tldr" } zoxide { $cmd = "z" } Default { $cmd = $pkg } } diff --git a/install.sh b/install.sh index 4cf7b4a1..61aecd83 100644 --- a/install.sh +++ b/install.sh @@ -50,7 +50,7 @@ cat "${OXIDIZER}"/defaults/Brewfile.txt | while read -r pkg; do ripgrep) cmd='rg' ;; - tealdeer) + tlrc) cmd='tldr' ;; zoxide)