Skip to content

Commit

Permalink
home/zsh: fix rgedit
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 committed Jul 31, 2024
1 parent d0d0c3b commit 21a6ca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions home/common/zsh/functions/rgedit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env zsh
rgedit () {
rg "$1" -oPl | xargs nvim -p
rgedit() {
rg "$1" -oPl | xargs -- nvim -p
}

0 comments on commit 21a6ca6

Please sign in to comment.