Skip to content

Commit

Permalink
build: ➕ replace tealdeer with tlrc
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaquero committed Apr 30, 2024
1 parent ef7eb72 commit 9e9933e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
3 changes: 2 additions & 1 deletion defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion defaults/Brewfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ lsd
ouch
ripgrep
sd
tealdeer
tlrc
zoxide
2 changes: 1 addition & 1 deletion defaults/Scoopfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ lsd
ouch
ripgrep
sd
tealdeer
tlrc
zoxide
sudo
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ cat "${OXIDIZER}"/defaults/Brewfile.txt | while read -r pkg; do
ripgrep)
cmd='rg'
;;
tealdeer)
tlrc)
cmd='tldr'
;;
zoxide)
Expand Down

0 comments on commit 9e9933e

Please sign in to comment.