bash.d/30-aliases

13 lines
274 B
Text
Raw Permalink Normal View History

# 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