fix(ruby): preserve special characters in rfind filenames (#14173)

This commit is contained in:
Aryan
2026-10-11 15:46:21 -07:00
committed by GitHub
parent bd9fb5231b
commit 05c2cb0b2b
3 changed files with 34 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ plugins=(... ruby)
| ------- | -------------------------------------- | ---------------------------------------------------- |
| rb | `ruby` | The Ruby command |
| sgem | `sudo gem` | Run sudo gem on the system ruby, not the active ruby |
| rfind | `find . -name "*.rb" \| xargs grep -n` | Find ruby file |
| rfind | `find . -name "*.rb" -print0 \| xargs -0 grep -n` | Find ruby file |
| rrun | `ruby -e` | Execute some code: E.g: `rrun "puts 'Hello world!'"` |
| rserver | `ruby -run -e httpd . -p 8080` | Start HTTP Webrick serving local directory/files |
| gein | `gem install` | Install a gem into the local repository |