From 851674efebf5c8732a8aa15c3623eb53114deb5b Mon Sep 17 00:00:00 2001 From: druckdev Date: Fri, 14 Jan 2022 15:02:50 +0100 Subject: [PATCH] zsh:autoload:glog: Fix syntax w/ bash login shell When bash is set as standard shell, fzf passes the commands to it and bash throws a syntax error because of the missing semicolon. --- .config/zsh/autoload/glog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/zsh/autoload/glog b/.config/zsh/autoload/glog index 8d1c130..ffab567 100755 --- a/.config/zsh/autoload/glog +++ b/.config/zsh/autoload/glog @@ -59,12 +59,12 @@ fzf_preview[patch]="$fzf_preview[construct] { $REPLY" if command -v diff-so-fancy &>/dev/null; then fzf_preview[patch]+=" | diff-so-fancy --color=always" fi -fzf_preview[patch]+=" }" +fzf_preview[patch]+="; }" read -r -d '' <