[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.
This commit is contained in:
Bruno BELANYI 2019-10-08 11:29:47 +02:00
parent cef75e94cd
commit 1e15b5c017

View file

@ -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"