ark/profiles/develop/zsh/functions/exa

7 lines
137 B
Plaintext
Raw Normal View History

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