Remove line limit
This commit is contained in:
parent
5d737ff9ff
commit
3c03102ece
|
@ -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 -)"
|
||||||
|
|
Loading…
Reference in New Issue