1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-25 09:04:07 +03:00

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