devos/profiles/develop/zsh/functions/exa
2019-12-22 22:24:19 -07:00

6 lines
137 B
Text

# pipe exa into PAGER with colors
if [[ -t 1 && -n $PAGER ]]; then
@exa@/bin/exa --color=always $@ | $PAGER
else
@exa@/bin/exa $@
fi