From 080716f496351d39365063e32280fd1221031675 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Sun, 22 Dec 2019 22:24:19 -0700 Subject: [PATCH] develop#zsh: fix exa function --- profiles/develop/zsh/default.nix | 4 +++- profiles/develop/zsh/functions/exa | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/profiles/develop/zsh/default.nix b/profiles/develop/zsh/default.nix index 9524ce73..17187ca4 100644 --- a/profiles/develop/zsh/default.nix +++ b/profiles/develop/zsh/default.nix @@ -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"; diff --git a/profiles/develop/zsh/functions/exa b/profiles/develop/zsh/functions/exa index 60090afa..0e2be3e7 100644 --- a/profiles/develop/zsh/functions/exa +++ b/profiles/develop/zsh/functions/exa @@ -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