pub-solar-os/profiles/develop/zsh/functions/exa
2019-12-22 22:24:19 -07:00

7 lines
137 B
Plaintext

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