commit c30e83edb3c44618efbcf94d38f8577648bbf4be
parent f5c768fe650e828f844f3c72948df1cf5694f26d
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 30 May 2018 15:36:23 -0400
Automatically close fzf if there is one or no match
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/links/.profile b/links/.profile
@@ -37,7 +37,7 @@ export GPG_TTY
if [ -x "$(command -v fzf)" ]; then
- export FZF_DEFAULT_OPTS="
+ export FZF_DEFAULT_OPTS="--exit-0 --select-1
--preview '(highlight -O ansi -l {} || coderay {} || rougify {} || cat {}) 2> /dev/null | head -100'
"