13 lines
274 B
Text
13 lines
274 B
Text
|
|
# shellcheck shell=bash
|
||
|
|
# Miscellaneous aliases and settings
|
||
|
|
|
||
|
|
export LESS=-R
|
||
|
|
|
||
|
|
if command -v ag &>/dev/null; then
|
||
|
|
alias ag='ag --pager=less -A3 -B3 -C2'
|
||
|
|
fi
|
||
|
|
|
||
|
|
# Show task list on interactive shell startup
|
||
|
|
if [[ $- == *i* ]] && command -v task &>/dev/null; then
|
||
|
|
task
|
||
|
|
fi
|