forked from pub-solar/os
develop#zsh: fix exa function
This commit is contained in:
parent
5ae733b854
commit
080716f496
|
@ -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";
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue