Skip to content

Commit

Permalink
build: ➕ replace grep with rg
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaquero committed Nov 27, 2023
1 parent 693ba3b commit fb4c202
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Oxidizer is originally designed for **non-administrator** users. It saves your t
- non-coreutils
- [x] Use [fd](https://github.com/sharkdp/fd) instead of `find`
- [x] Use [zoxide](https://github.com/ajeetdsouza/zoxide) instead of `cd` or `z`
- [x] Use [ripgrep](https://github.com/BurntSushi/ripgrep) instead of `grep` (only required on Windows)
- [x] Use [ripgrep](https://github.com/BurntSushi/ripgrep) instead of `grep`
- [ ] Use [dust](https://github.com/bootandy/dust) instead of `du`
- [ ] 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 @@ -71,7 +71,7 @@ Oxidizer 起初主要为非管理员用户设计,用于快速搭建跨平台
- non-coreutils
- [x] 使用 [fd](https://github.com/sharkdp/fd) 替换 `find`
- [x] 使用 [zoxide](https://github.com/ajeetdsouza/zoxide) 替换 `cd``z`
- [x] 使用 [ripgrep](https://github.com/BurntSushi/ripgrep) 替换 `grep`(仅 Windows)
- [x] 使用 [ripgrep](https://github.com/BurntSushi/ripgrep) 替换 `grep`
- [ ] 使用 [dust](https://github.com/bootandy/dust) 替换 `du`
- [ ] 使用 [hyperfine](https://github.com/sharkdp/hyperfine) 替换 `time`
- [ ] 使用 [procs](https://github.com/dalance/procs) 替换 `ps`
Expand Down
1 change: 1 addition & 0 deletions defaults/Brewfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ fd
gitui
lsd
ouch
ripgrep
zoxide
2 changes: 1 addition & 1 deletion defaults/Scoopfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ fd
gitui
lsd
ouch
zoxide
ripgrep
zoxide
uutils-coreutils
sed
sudo
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ cp "${OXIDIZER}"/defaults.sh "${OXIDIZER}/"custom.sh
sed -i.bak "s|.* OX_STARTUP=.*|export OX_STARTUP=1|" "${OXIDIZER}"/custom.sh
# set path of oxidizer
# echo "source OXIDIZER=${OXIDIZER}/oxidizer.sh" | xargs -I '{}' sed -i.bak '' 's|source OXIDIZER=.*|{}|' ${OX_SHELL}
# echo $(cat ${OX_SHELL} | grep -o -E 'source .+')
# echo $(cat ${OX_SHELL} | rg -o 'source .+')

###################################################
# Load Plugins
Expand Down

0 comments on commit fb4c202

Please sign in to comment.