From 3c03102eceb3276c2f23ee3b65b2f4651d98aaa3 Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Wed, 15 Dec 2021 17:52:41 -0300 Subject: [PATCH] Remove line limit --- home/aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/aliases b/home/aliases index b79f705..76ce8cd 100644 --- a/home/aliases +++ b/home/aliases @@ -43,11 +43,11 @@ alias sl="ls" alias la="ls -a" search() { - grepa "$@" . | sed -nE '/^.{,200}$/p' + grepa "$@" . } goto() { - open="$(search "$@" | fzf --ansi)" + open="$(search "$@" | fzf --ansi -1)" if [ ! -z "$open" ]; then file="$(echo "$open" | cut -d: -f1 -)" line="$(echo "$open" | cut -d: -f2 -)"