dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 166d7dd73867f44b64c1a5900e009b9b8243439f
parent 1edbd2d0350e88615cd54dc270671637f2ea9046
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Tue, 10 Oct 2017 11:28:21 -0400

fix preview truncation

Diffstat:
Mlinks/.zshrc | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/links/.zshrc b/links/.zshrc @@ -308,7 +308,6 @@ export GPG_TTY=`tty` # trigger fzf completion by entering **<TAB> or <Pattern>**<TAB> [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh -#export FZF_DEFAULT_OPTS="--preview '[[ $(file --mime {}) =~ binary ]] && echo {} is a binary file || (highlight -O ansi -l {} || coderay {} || rougify {} || cat {}) 2> /dev/null | head -500'" -export FZF_DEFAULT_OPTS="--preview '(highlight -O ansi -l {} || coderay {} || rougify{}) 2> /dev/null || head -500 {}'" +export FZF_DEFAULT_OPTS="--preview '(highlight -O ansi -l {} || coderay {} || rougify {} || cat {}) 2> /dev/null | head -100'" [ -d ~/code/tensorflow ] && alias tensorflow='source ~/code/tensorflow/bin/activate'