[UPDATE][SHELL] Consistent style in profile

I prefer using the '$(...)' sub-shell notation instead of back-ticks. I
also try to systematically quote my variables if they're not numbers.
This commit is contained in:
Bruno BELANYI 2019-10-08 11:31:31 +02:00
parent 1e15b5c017
commit da789e2d5d

View file

@ -14,7 +14,7 @@ export RANGER_LOAD_DEFAULT_RC=FALSE
[ -e "/etc/DIR_COLORS" ] && DIR_COLORS="/etc/DIR_COLORS" [ -e "/etc/DIR_COLORS" ] && DIR_COLORS="/etc/DIR_COLORS"
[ -e "$HOME/.dircolors" ] && DIR_COLORS="$HOME/.dircolors" [ -e "$HOME/.dircolors" ] && DIR_COLORS="$HOME/.dircolors"
[ -e "$DIR_COLORS" ] || DIR_COLORS="" [ -e "$DIR_COLORS" ] || DIR_COLORS=""
eval "`dircolors -b $DIR_COLORS`" eval "$(dircolors -b $DIR_COLORS)"
# Use less as my default pager # Use less as my default pager
export PAGER=less export PAGER=less
@ -39,4 +39,4 @@ export BAT_PAGER="$PAGER $LESS"
export PATH="$HOME/.cargo/bin:$PATH" export PATH="$HOME/.cargo/bin:$PATH"
# Use keychain to handle ssh-agent # Use keychain to handle ssh-agent
eval $(keychain --eval id_rsa --quiet) eval "$(keychain --eval id_rsa --quiet)"