develop#zsh: fix exa function

This commit is contained in:
Timothy DeHerrera 2019-12-22 22:24:19 -07:00
parent 5ae733b854
commit 080716f496
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
2 changed files with 4 additions and 2 deletions

View file

@ -33,9 +33,11 @@ in
df = "df -h";
du = "du -h";
ls = "${pkgs.exa}/bin/exa";
ls = "exa";
l = "ls -lhg --git";
la = "l -a";
t = "l -T";
ta = "la -T";
ps = "${pkgs.procs}/bin/procs";

View file

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