Files
linux-workspace/rc/env.sh
2022-03-18 08:02:44 +01:00

15 lines
297 B
Bash

export PAGER=less
export EDITOR=vim
# https://docs.microsoft.com/en-us/dotnet/core/tools/telemetry
export DOTNET_CLI_TELEMETRY_OPTOUT=1
if can_run bat && ! is_alias bat; then
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
fi
if ! can_run bat && can_run batcat; then
alias bat=batcat
fi