alias g=git
alias be='bundle exec'
alias ls='ls --color=auto' ll='ls -l --human-readable' la='ls --almost-all'
alias docker-shell='docker run --rm --interactive --tty --volume "$PWD:/docker"'
alias ping='ping -c 10'

if [ -f /usr/share/vim/vim81/macros/less.sh ]
then alias less=/usr/share/vim/vim81/macros/less.sh
elif [ -f /usr/share/vim/vim80/macros/less.sh ]
then alias less=/usr/share/vim/vim80/macros/less.sh
fi

source_maybe() {
	if [ -f "$1" ]
	then source "$1"
	else return 1
	fi
}

source_maybe ~/.config/posix-sh/local-config.sh

unset -f source_maybe

alias g=git
alias be='bundle exec'
alias ls='ls --color=auto' ll='ls -l --human-readable' la='ls --almost-all'
alias docker-shell='docker run --rm --interactive --tty --volume "$PWD:/docker"'
alias ping='ping -c 10'

if [ -f /usr/share/vim/vim81/macros/less.sh ]
then alias vless=/usr/share/vim/vim81/macros/less.sh
elif [ -f /usr/share/vim/vim80/macros/less.sh ]
then alias vless=/usr/share/vim/vim80/macros/less.sh
fi

source_maybe() {
	if [ -f "$1" ]
	then source "$1"
	else return 1
	fi
}

source_maybe ~/.config/posix-sh/local-config.sh

unset -f source_maybe

Replace less alias with vless
Replace less alias with vless

Vim version of less is still too much different from original less. This
commit may be reverted if I get used to the Vim less in future.
