From 1e15b5c0170b2d55d3450b69e79888aaff1e6a23 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 8 Oct 2019 11:29:47 +0200 Subject: [PATCH] [FIX][SHELL] Add missing semi-colons in profile Groups needs to have a command-list ending in a semi-colon to register the ending brace. I did not encounter this issue with Zsh but do have an error when sourcing the file with Bash. --- shell/.profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/.profile b/shell/.profile index 02d42ec..76ff30b 100644 --- a/shell/.profile +++ b/shell/.profile @@ -29,8 +29,8 @@ export LESS_TERMCAP_us=$'\E[1;32m' # begin underline export LESS_TERMCAP_ue=$'\E[0m' # reset underline # Use lesspipe as a file preprocessor (unlike bat, can somewhat read pdf) -{ [ -x /usr/bin/lesspipe.sh ] && eval "$(lesspipe.sh)" } || -{ [ -x /usr/bin/lesspipe ] && eval "$(lesspipe)" } # Quoting seems necessary +{ [ -x /usr/bin/lesspipe.sh ] && eval "$(lesspipe.sh)"; } || +{ [ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"; } # Quoting seems necessary # Use my preferred pager settings for bat export BAT_PAGER="$PAGER $LESS"