Remove line limit

This commit is contained in:
Augusto Gunsch 2021-12-15 17:52:41 -03:00
parent 5d737ff9ff
commit 3c03102ece
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
1 changed files with 2 additions and 2 deletions

View File

@ -43,11 +43,11 @@ alias sl="ls"
alias la="ls -a" alias la="ls -a"
search() { search() {
grepa "$@" . | sed -nE '/^.{,200}$/p' grepa "$@" .
} }
goto() { goto() {
open="$(search "$@" | fzf --ansi)" open="$(search "$@" | fzf --ansi -1)"
if [ ! -z "$open" ]; then if [ ! -z "$open" ]; then
file="$(echo "$open" | cut -d: -f1 -)" file="$(echo "$open" | cut -d: -f1 -)"
line="$(echo "$open" | cut -d: -f2 -)" line="$(echo "$open" | cut -d: -f2 -)"